Monday, January 27, 2020

Automated Protocol to Restrict Password Guessing Attacks

Automated Protocol to Restrict Password Guessing Attacks ABSTRACT Password login services are now widespread and ever increasing. Attacks that take place on password-only remote login services are brute force and dictionary attack. Providing convenient login for legitimate user.In the proposed system we use Password Guessing Resistant Protocol (PGRP) which improves more security by restricting the number of attempts. PGRP allows a high number of failed attempts from known machines. PGRP uses either cookies or IP addresses, or both for tracking legitimate users. Tracking users through their IP addresses also allows PGRP to increase the number of ATTs for password guessing attacks and meanwhile to decrease the number of ATTs for legitimate login attempts. Key Words – Online password guessing attacks, brute force attacks, password dictionary, ATTs. 1. INTRODUCTION: Online password guessing attacks are the most commonly observed against web applications SSH logins. SANS report observed that password guessing attack is the top cyber security risk. SSH servers that doesn’t allow some standard password authentication suffer the guessing attacks. Online attacks have some disadvantages compared to offline attacks i.e., the attacking machines must use an effective interactive protocol which allows a easier detection of malicious attacks.Malicious attackers try only limited no. of password guesses from a single machine being that account is being locked or before being challenged to answer an ATT. An attacker will employ a large number of machines to avoid locking out. Generally users choose weak passwords. As malicious attackers control large bot nets online attacks became much easier.Restricting the no. of failed trails without ATT’s to a very small number is the effective defense system that can be used against automated online passw ord guessing attacks. Also limiting automated programs(or bots) used by attackers for password guesses for a targeted account, even many different machine from a bot net are used. This method inconveniences offers a legitimate user to answer an ATT on next login attempt after the malicious attackers guesses. Other techniques deployed in practice includes: Even though from a given machine when a certain number of failed attempts occur,it allows login attempts without ATTs from a different machine. After a certain time-out period, it allows more attempts without ATTs and also time-limited account lockinMany existing techniques proposals involve ATT’s, assuming that the challenges provided by the ATTs are difficult for botseasy for people(legitimate users). Users are increasing disliking ATTs and feels it as an unnecessary extra step. Successful attacks are being made which break ATTs without human solvers. ATTs that are to be more difficult.As a consequence, present-day ATTs are becoming more difficult for human users. Therefore, we focus more on reducing user inconvenience by challenging users with fewer ATTs and at the same time subjecting bot logins to more ATT’s, to drive up economic cost to attackers.Two well-known proposals using ATTs to limit online guessing attacks are Pinkas and Sander (PS protocol) and Van Oorsc hot and Stubblebine (VS protocol). The PS proposal reduces the ATTs. The VS proposal reduces this but a significant cost to usability.. The PGRP is being developed by using both PS VS proposals. On the other side, PGRP allows high number of failed attempts from known machines without answering any ATTs. Known machines are defined as those from which successful login has occurred over a fixed time period. These known machines are identified by their IP addresses which are saved on the login server as white list or else in the cookies stored on client. Both the white listed IP address and client cookie expire after a time-period. In both graphical user interface(e.g., browser-based logins) character-based interface(e.g.,SSH logins) PGRP can be accommodated). Both PS and VS proposals, requires the use of browser cookies. PGRP uses either cookies or IP address or both for tracking legitimate users. PGRP increases the number of ATTs for password guessing by tracking users through their IP address also to decrease the number of ATTs for legitimate login attempts.In recent years, the trend of logging in to online account through multiple personal devices (e.g., PC, laptop’s,smartphones ) is growing. When used from home environment, these devices often share a single IP address which makes IP-based history tracking more user friendly than cookies. 2. Related work: From the early days of the internet the online password guessing attacks have been known to everyone. Account locking is a mechanism which prevents a malicious attacker from multiple passwords particular username. Although account locking is temporary remedy, an attacker can mount a DOS (denial of service) in some amount of time for a particular username can be done by delaying server response after receiving user credentials, whether the password is correct or incorrect. However, for an attacker with access to a botnet, this above mechanism is ineffective. Prevention techniques that depend on requesting the user machine to perform extra computations before replying to the entered credentials are not effective with such adversaries. To prevent the automated programs (brute force dictionary attacks) ATT challenges are used in some protocols.PS presented a login protocol which challenges ATTs to protect against online password guessing attacks. PS protocol reduces the number of ATTs that authorized users must correctly answer, so that a user with a valid browser cookie will be rarely asked to answer an ATT. A deterministic function AskATT() of the entered user credentials is used to decide whether to ask the user an ATT or not. To improve the security features of the PS protocol, Van Oorschot stubblebine defined a modified protocol in which ATTs are always required, once the no. of failed login attempts for a particular username exceeds a threshold. For both PS and VS protocols, the function AskATT() requires a careful design, because the ‘known function attack’ of poor design of this function AskATT() makes the login protocol vulnerable to attacks and also ‘change password attack’. Because of these attacks, the authors proposed a secure non-deterministic keyed hash function as AskATT() so that each username is associated with one key that changes whenever the corresponding password is changed. This proposed function requires extra server-side storage per username atleast one cryptographic hash operation per login attempt. 2.2 Functions PGRP uses the following functions. They are 1.Read Credential. It shows a login prompt to the user and it returns the entered user name and password and also the cookie received from the user’s browser. 2. Login Correct If the provided user name-password is valid, the function return true otherwise it returns false. 3. Grant Access This function sends the cookies to the user’s browser and then gives the permission to access the specified user account. 4. Message It displays the text message. 5. ATT Challenge This function challenges the user with an ATT. If the answer is correct, it returns â€Å"pass† otherwise, it returns â€Å"fails† 7. Valid This function checks the validity of the cookie and it is considered invalid in the following cases: The cookie username doesn’t match with the login username. The expired time of the cookie. The cookie counter is equal to or greater than K1. This function returns true only when a valid cookie is received. 3. Cookies versus Source IP addresses PGRP keeps track of user machines from which successful logins have been initiated previously. If the login server offers a web-based interface, for this purpose choose a browser cookies as a good choice. The login server unable to identify the user in all cases, if the user uses multiple browser or more than one OS on the same machine. Cookies may also be deleted by users, or automatically enabled by the most modern browsers.Cookie theft(eg., through session hijacking)might enable an adversary to impersonate a user who has been successfully authenticated in the past. In addition cookies requires a browser interface.A user machine can be identified by the sourceIP address. To trace users depending on sourceIP address may result in inaccurate identification. This can be done because of various reasons including. 1) The same machine might be assigned different IP addresses. 2) A group of machines might be represented by a small number or a single internet-addressable IP address if NAT mechanism is in place.Drawbacks of identifying a user by means of either a browser cookie or a source IP address include: 3) Failing to identify a machine from which the user has authenticated successfully in the past. 4) Wrongly identifying a machine the user has not authenticated before. Case 1) Decreases usability since the user might be asked to answer an ATT challenge for both correct and incorrect login credentials. Case 2) Affects security since some users/attackers may not be asked to answer an ATT challenge even though they have not logged in successfully from those machines in the past.However, the probability of launching a dictionary or brute force attack from these machines appears to be low. Therefore, we choose to use both browser cookies and source IP address in PGRP to minimize user inconvenience during login process. 3.1. Decision function for requesting ATT’s: The decision to challenge the user with an ATT depends on two factors: 1) Whether the user has authenticated successfully from the machine previously. 2) The total number of failed login attempts for a specified useraccount Fig. 2.Secure but inconvenient login protocol 3.4.1Username-Password Pair Is Valid After entering a correct username-password pair. In the following cases the user will not be asked to answer an ATT challenge. 1. A valid cookie is received from the user machine and the number of failed login attempts from the user machines IP address for that username, FS[srcIP,un], is less than k1 over a time period determined by t3. 2. The user machine’s IP address is in the whitelist W and the number of failed login attempts from this IP address for that username, FS[srcIP,un], is less than k1 over a time period determined by t3. 3.The number of failed login attempts from any ,machine for that username, FT[un], is below a threshold k2 over a time period determined by t2 3.4.2Username-Password Pair Is Invalid After entering a incorrect username-password pair. In the following cases the user will not be asked to answer an ATT challenge. A valid cookie is received from the user machine and the number of failed login attempts from the user machines IP address for that username, FS[srcIP,un], is less than k1 over a time period determined by t3. The user machine’s IP address is in the whitelist W and the number of failed login attempts from this IP address for that username, FS[srcIP,un], is less than k1 over a time period determined by t3. The username is valid and the number of failed login attempts for that username, FT[un], is below a threshold k2 over a time period determined by t2. 4 System Resources No list’s are maintained in the PS protocol because of this there is no extra memory overhead on the login server. In VS protocol only FT is maintained. In PGRP, three tables must be maintained. First, the white list, W is expected to grow linearly with the number of user’s. W contains a list of{source IP address, username}pairs that have been successfully authenticated in the last t1 units of time. Second, the number of entries in FT increase by one whenever a remote host makes a failed login attempt using a valid user name, if entry is added to FS only when a valid{user name, password} pair is provided from an IP address not used before for this user name. Therefore, the number of entries in FS is proportional to the number of IP addresses legitimate users successfully authenticated from. 4.1  Background On Previous ATT Based Protocols Pinkas and Sander introduced the topic based upon a strawman login protocol that requires answering an ATT challenge first before entering the {user name, password}pair. If the user falling to answer the ATT correctly prevents the user from proceeding further. This protocol requires the adversary to pass an ATT challenge for each password guessing attempt. Simple protocol is effective against online dictionary attacks assuming that the used ATT’s are secure, legitimate users must also pass an ATT challenge for every login attempt. Therefore, this protocol affects user convenience and requires the login server to generate an ATT challenge for every login attempt. Pinkas and Sander proposed a new protocol that reduces the number of ATT’s for legitimate user’s are required to pass. This protocol stores a browser cookie on the machine of users who had previously logged in successfully. Once the user requests the login server URL, the user’s browser sense the cookie back to the server. The protocol then requests the user to enter a {user name, password} pair. If the pair is correct and a valid cookie is received from the browser then the protocol gives permission to access the account. If the pair is correct but no valid cookie is received, then an ATT challenge must be answered before account access is granted. Otherwise, if the pair is incorrect then according to a function AskATT(), an ATT challenge might be required before informing the user that the pair is incorrect. With this protocol, legitimate user must passATT’s in the following cases:1) When the user logs in from a machine for the first time. 2) When the user’s pair is incorrect and AskATT() triggers an ATT. For each password guessing attempt an automated program needs to correctly answer ATT except in one case i.e.,when the {username, password} pair is incorrect and a function AskATT() didn’t request an ATT. Van oorschot and stubblebine proposed modifications to the previous protocol which stores failed login’s per username to impose ATT challenges after exceeding a configurable threshold of failures. Hence, for an incorrect {username, password}pair, the decision to request an ATT not only depends on the function AskATT() but also on the number of failed login attempts for the username.After entering correct credentials in the absence of a valid cookie, the user is asked whether the machine in use is trustworthy and if the user uses it regularly .The cookie is stored in the user’s machine only if the user responds yes to the question. This approach aims to reduce the possibility of cookie theft since a negative answer is expected if the user was from a public machin e .The user account is set be in non-owner mode for a specified time window when a login is successful without receiving a valid cookie from the user machine; otherwise the account is set to owner mode.

Sunday, January 19, 2020

I Have a Dream Speech

Throughout the 1960s, Martin Luther King, a famous activist, engaged in various civil rights boycotts and protests, helping to further the movement and gain its eventual victory. Out of all of his civil rights efforts, the â€Å"I Have a Dream† speech, given on the Lincoln Memorial in 1963, had the greatest impact on the world. The speech managed to illustrate the racist problems of the time and provoke the audience into feeling sympathy, while providing hope to the depressed African-American population.King's speech not only changed history for the black community, but it also gave hope to blacks throughout the world. His speech was so successful because he was able to arouse his audience to their feet and get them to take action in society. The reason for the great impact of the speech, â€Å"I Have a Dream,† is due to the tense social mood of the time and that it reflects the conditions of the time, giving black activists a vision for the future.It struck directly in to the hearts of blacks across America, and made whites ashamed of their actions and be willing to have a new start. In just 17 minutes, King influenced and informed the people about racial equality and fairness. Later, near the end of his speech, King continues to â€Å"preach† this point. For example, he stated, â€Å"†¦little black boys and black girls will be able to join hands with little white boys and white girls as sisters and brothers. King talks about the future and how one day, freedom will â€Å"ring† from all across the United States and how people of all races will be able to â€Å"join hands† and be â€Å"brothers and sisters. † He strongly desires a united world where racism will not exist. He says, â€Å"With this faith we will be able to work together, to pray together, to struggle together, to go to jail together, to stand up for freedom together, knowing that we will be free one day. † Overall, King intelligently used a we ll-planned structure to manipulate his audience into agreeing with him.

Friday, January 10, 2020

Tanzimat

Reform program in the Ottoman Empire from 1839 until 1876. Tanzimat is Turkish for â€Å"reorganization†, and was a program that based itself on the changes started by sultan Mahmud 2. The actual program was started under sultan Abdulmecid 1, and corrupted and destroyed by sultan Abulaziz. The Tanzimat program was one of highest importance to the Ottoman Empire. It was initiated by reformists who understood why the empire was growing weaker while neighbour countries were growing stronger. The situation was clearly illustrated by numerous military defeats.Inside the empire also, there were many dangerous tensions that could lead to conflicts and demands of autonomy. This had already happened in Egypt, when Muhammad Ali achieved autonomy. But high in the empire there were many people with conservative ideas, as well as many who (accurately) feared for their own positions, and who opposed the reform processes. One characteristic of the Tanzimat that made it hard to accept for man y, was that it had been formed upon European ideas and ideals.And Europe was considered the lands of the infidels. The reforms of the Tanzimat was administered under the Grand Vizier. The most known of the Tanzimat viziers was Mustafa Resid Pasha, who served altogether 6 terms. While the Tanzimat program might have saved the Ottoman Empire, or at least prolonged its existence, one may assert that it came too late. But even more grave, it was discontinued by sultan Abdulaziz' abuse of politics and little respect for the reforms.And there was even less hope for the reforms when Abdulhamid 2 ascended the sultan throne in 1876, and as among the first of many despotic acts stopped the Tanzimat. The program The program was defined in a document of 1839 called Hatt-i Serif (Noble Edict of the Rose Chamber). It contained new regulations in several fields: New administration: Provincial representative assemblies (nothing to do with democracy in modern terms, of course) were established, toge ther with state courts that ruled independent of the religiously learned.But more important than that, the local administrations started to function as parts of large state structure. Also, new codes of commercial and criminal law were introduced. Standardized system of taxation: Earlier there had been abuses in many provinces, allowing local rulers to enrich themselves on the locals. The system of taxation also applied to military conscription and training, a system that now was regulated, and involved less pressure on the locals. New conscript system: The Ottoman Empire now introduced a conscript system based upon Prussian patterns.This involved the total end of the devsirme system, from which the Janissaries had been recruited. Rights of the individual: No matter what race or religion a citizen had, his or her security of life, property and honour was guaranteed inside the empire. In return, the state demanded that all citizens were loyal to the sultan and the Ottoman administrat ion. Secular school system: Earlier, Islam had been the foundation for schooling. Now, modern ideals were introduced instead.

Thursday, January 2, 2020

World War One On The Side Of The Allies - 1203 Words

World War 1 was a war that began in 1914. It consisted of many countries around the world who chose to fight for either the allied powers or the central powers. The War was fought mainly in Europe and it started with just European countries fighting. Later, more international countries started to join World War 1. The United States of America joined the war in 1917 on the side of the allies. Even though many people believed that the US should have stayed out of World War One, America joined the War on the side of the allies for benefits such as, moral diplomacy, dollar diplomacy, and constable of the world. Moral diplomacy was used by the US in this time period spread democracy and promote peace. America wanted to improve their economy. Also, America wanted to boost their social standing and be viewed as more powerful by the rest of the world. There were a variety of benefits that could be gained from America entering World War One on the side of the allies, which the United States o f America thought outweighed the idea of remaining out of the War. Even though America did end up entering World War One many people in America thought it would be in their best interest to remain neutral. One reason is that it would save many Americans lives (Why did the U.S. enter World War I? worksheet). A lot more people would not die if America had chosen to remain out of the war instead of entering the side of the allies. When America chooses to enter the War, many more Americans lives areShow MoreRelatedWorld War 2 : Argumentative Essay1088 Words   |  5 PagesWorld War 2 Argumentative Essay World War 2 was a massive war which engulfed the whole world from 1939 – 1935. There were 2 different sides in the war. These two sides were the Allies and the axis. At the start of the war, the Allies consisted of Great Britain and all of its colonies (such as Australia) and France. The Axis consisted of Germany, Italy, Japan and the Soviet Union. At the start of the war the axis powers were dominating. Germany used â€Å"Blitzkrieg† (Lighting war) tactics very successfullyRead MoreUnited States Entering World War I1114 Words   |  5 Pages13 November 2015 United States Entering in World War I World War I, according to the internet article, WW1 Casualty and Death Tables, published by PBS, was one of the bloodiest and deadliest wars ever fought with about 22 million casualties (WW1). The war was sparked through the assassination of Archduke Franz Ferdinand of Austria an quickly grew into a war between the Allies against the Central Powers. However, the United States d id not join the Allies until 1917 which helped break the ongoingRead MoreConvergence of Military Revolutions1409 Words   |  6 Pagescharacter of World War I? Submitted by [Name of Researcher] Name of Discipline [Area of Study] Name of Institution Logo of Institution 22 January 2012 Contents I. Introduction 3 II. Plans made in anticipation of the War and Doctrine failed. 3 III. Evolved weapons technologies resulted in prolonged stalemate and enormous losses of personnel and equipment. 5 IV. Both sides tried innovations to break the deadlock. 6 V. Conclusion 6 References 8 I. Introduction World War I was an epicRead MoreThe War Was Going On America1606 Words   |  7 Pagesnationalism began a war in Europe between the Allies (Britain, Russia, Italy, and France) and the Central Powers (Germany, Austria-Hungary, the Ottoman Empire and Bulgaria). This war would later be known as the First World War and only lasted four years, yet it destroyed Europe’s economy and ravished its terrain. While the war was going on America claimed a neutral stance. Mostly for the fact that many Americas were isolationist and did not care what was going on in the other side of the world. The UnitedRead MoreThe Battle Of The Allied Powers During World War II1528 Words   |  7 Pagesvery little success in World War II, the idea of an amphibious landing was explored thoroughly and determined to be the only way to get a foothold into Hitler’s empire. The invasion was a bloody 3 day encounter on 5 beaches that resulted in an enormous exchange between Hitler and the Allies. Becaus e of this, it gave a rise to the power to the Allies in Europe when D-day was victorious. From 1941-1944 the Allies goal was to defeat Germany first. For many months, the Allies were trying to plan a massiveRead MoreThe Battle Of The War1439 Words   |  6 Pages World War One was the cause of over eleven million military personnel deaths. Six million of those came from the side of the Triple Entente, or Allies. New fighting strategies that emphasized throwing more and more men into the fight only exacerbated the problem. Military leaders on the side of the Allies failed to adapt and sacrificed the lives of many that could have been avoided. Based on concrete evidence that was collected, this was a major factor in high casualty numbers during the war becauseRead MoreRichard Overy and The World War II974 Words   |  4 Pages World War II was one of the greatest wars in our history. Richard Overy wrote Why the Allies Won to explain his taking of how this happened. Why the Allies Won is about how Germany was in almost full control of Europe and Germany felt like they should start moving into the Middle East. Germany and Japan had felt since they took over large lands in 1942, they should try to take over the rest of the world. This caused the Second World War. The other countries were not going to let Germany and JapanRead MoreThe Roles Played by Different Countries during World War II1483 Words   |  6 PagesThe participants of World War 2 were those nations who either fought the battle or were affected by the war. Below is a pictorial indication of the roles different countries played in the World War II. The World War II was fought between two major military alliances namely the axis powers and the allies. The Axis power was a group of countries led by Nazi Germany, kingdom of Italy and empire of Japan. The allies led by united kingdom were joinedRead MoreWhat Was The Us Entry Into World War 11017 Words   |  5 PagesIn 1914, World War 1 erupted in Europe. During the the first first two years of the war President Wilson decided that America would stay neutral. America did not want to get involved in a war that was not their battle to win. This benefited America because both sides of the war would buy supplies from America. Things were going smooth for America until Germany decided to attack American ships which killed many Americans. As tension grew between Germany and the United States, President Wilson stillRead MoreD Day During The World War II1585 Words   |  7 PagesGermans out of Paris, which then lead to pushing them out of France in late August 1944. D-day was a significa nt day because it helped end World War Two . It was the day that had started the chain effect to ending World war Two, an example of this is on December 16, 1945, the Battle of the Bulge. This was when the last of Germany s troops went 50 mile across the Allies defences creating what is known as a bulge. There are some main targets and effects of d-day and some of those are, it helped the soviets