{"id":37406,"date":"2019-10-31T22:17:27","date_gmt":"2019-10-31T19:17:27","guid":{"rendered":"https:\/\/prohoster.info\/blog\/podbor-parolya-wi-fi-utilitoj-aircrack-ng\/"},"modified":"2019-10-31T22:17:27","modified_gmt":"2019-10-31T19:17:27","slug":"podbor-parolya-wi-fi-utilitoj-aircrack-ng","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/podbor-parolya-wi-fi-utilitoj-aircrack-ng","title":{"rendered":"Password Selection for Wi-Fi Using aircrack-ng Utility","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<blockquote><p><i>This article is written solely for informational and research purposes. We urge you to follow network operation rules and laws, and always remember about information security.<\/i><\/p><\/blockquote>\n<h3>Introduction<\/h3>\n<p>\nIn the early 1990s, when Wi-Fi first emerged, the Wired Equivalent Privacy algorithm was created to ensure the privacy of Wi-Fi networks. However, WEP turned out to be an ineffective security algorithm that could be easily hacked.<\/p>\n<p>It was replaced by a new protection algorithm, Wi-Fi Protected Access II (WPA2), which is now used by most Wi-Fi access points. WPA2 employs the AES encryption algorithm, which is extremely difficult to break.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>But where is the vulnerability?<\/h3>\n<p>\nThe downside of WPA2 is that the encrypted password is transmitted during the so-called 4-way handshake. If we capture the handshake, we can learn the encrypted password and then just decrypt it. For this purpose, we'll use aircrack-ng.<\/p>\n<h3>So how do we hack it?<\/h3>\n<p><\/p>\n<h4>Step 1. Identify the Interface<\/h4>\n<p>\nFirst, we need to find out which network interface we need, for this we enter the command:<\/p>\n<pre><code class=\"bash\">$ ifconfig<\/code><\/pre>\n<p>\nWe get the response:<\/p>\n<pre><code class=\"bash\">eth0      no wireless extensions.\n\nwlan0     IEEE 802.11abgn  ESSID:off\/any\nMode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm\nRetry short limit:7   RTS thr:off   Fragment thr:off\nEncryption key:off\nPower Management:off\n\nlo        no wireless extensions<\/code><\/pre>\n<p>\nIn my case, there are only three interfaces, two of which do not have wireless extensions. Therefore, we are only interested in wlan0.<\/p>\n<h4>Step 2. Switch the Network Adapter to Monitor Mode<\/h4>\n<p>\nSwitching the network adapter to monitor mode will allow us to see wireless traffic passing by. To do this, we enter the command:<\/p>\n<pre><code class=\"bash\">$ airmon-ng start wlan0<\/code><\/pre>\n<p>\nNote that airmon-ng renamed your interface (mine became mon0, but you should check).<\/p>\n<h4>Step 3. Capture Traffic<\/h4>\n<p>\nNow that our network adapter is in monitor mode, we can capture the traffic passing by using the airodump-ng command. We enter:<\/p>\n<pre><code class=\"bash\">$ airodump-ng mon0<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Password Selection for Wi-Fi Using aircrack-ng Utility\" src=\"\/wp-content\/uploads\/2019\/08\/e7b4c295f56dc237158ed6f4074567a1.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nNote that all visible access points are listed at the top of the screen, while clients are at the bottom.<\/p>\n<h4>Step 4. Focus the Capture on a Specific Access Point.<\/h4>\n<p>\nOur next step is to focus our efforts on one access point and its channel. We are interested in the BSSID and channel number of the access point we will be cracking. Let's open another terminal and enter:<\/p>\n<pre><code class=\"bash\">$ airodump-ng --bssid 08:86:30:74:22:76 -c 6 -w WPAcrack mon0<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Password Selection for Wi-Fi Using aircrack-ng Utility\" src=\"\/wp-content\/uploads\/2019\/08\/87dcd71f2b437a577b3265f3f53cc806.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<ul>\n<li>08:86:30:74:22:76 BSSID of the access point<\/li>\n<li>-c 6 channel on which the Wi-Fi access point operates<\/li>\n<li>WPAcrack file where the handshake will be recorded<\/li>\n<li>mon0 network adapter in monitoring mode<\/li>\n<\/ul>\n<p>\nAs you can see in the screenshot above, we are currently focusing on capturing data from one access point with ESSID Belkin276 on channel 6. Let's keep the terminal open!<\/p>\n<h4>Step 5. Capturing the handshake<\/h4>\n<p>\nTo capture the encrypted password, we need a client to authenticate (connect to Wi-Fi). If it is already authenticated, we can deauthenticate it (disconnect it), and then the system will automatically reauthenticate (connect again), allowing us to capture the encrypted password.<\/p>\n<p>That is, we just need to disconnect connected users so they can connect again. For this, we open another terminal and enter:<\/p>\n<pre><code class=\"bash\">$ aireplay-ng --deauth 100 -a 08:86:30:74:22:76 mon0<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Password Selection for Wi-Fi Using aircrack-ng Utility\" src=\"\/wp-content\/uploads\/2019\/08\/25772b59cae85fed1a7b1a8a5bc488d4.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<ul>\n<li>100 number of users to be deauthenticated<\/li>\n<li>08:86:30:74:22:76 BSSID of the access point<\/li>\n<li>mon0 network adapter<\/li>\n<\/ul>\n<p>\nNow, upon reconnecting, the window we left open in the previous step will catch the handshake. Let's go back to our airodump-ng terminal and take a look.<\/p>\n<p><img decoding=\"async\" alt=\"Password Selection for Wi-Fi Using aircrack-ng Utility\" src=\"\/wp-content\/uploads\/2019\/08\/8b208e5ba5222990cf1cdb1668a33156.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nNote the top line on the right, airodump-ng displayed: \"WPA Handshake.\" That means we have successfully captured the encrypted password! This is the first step towards success!<\/p>\n<h4>Step 6. Cracking the password<\/h4>\n<p>\nNow that we have the encrypted password in our WPAcrack file, we can start cracking it. But for that, we need to have a list of passwords we want to use. You can find such a list in 5 minutes on Google. I will use the default password list included in aircrack-ng: BackTrack darkcOde.<\/p>\n<p>Let's open a new terminal and enter:<\/p>\n<pre><code class=\"bash\">$ aircrack-ng WPAcrack-01.cap -w \/pentest\/passwords\/wordlists\/darkc0de<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Password Selection for Wi-Fi Using aircrack-ng Utility\" src=\"\/wp-content\/uploads\/2019\/08\/b1614ebe9a6fc6a7ca2603e7d7e2a7c9.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<ul>\n<li>WPAcrack-01.cap file where we recorded the handshake (airodump-ng appended -01.cap at the end)<\/li>\n<li>\/pentest\/passwords\/wordlist\/darkc0de \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0441\u043f\u0438\u0441\u043a\u0443 \u043f\u0430\u0440\u043e\u043b\u0435\u0439<\/li>\n<\/ul>\n<p><\/p>\n<h4>How long will this take?<\/h4>\n<p>\nThis process can take a long time. It all depends on the length of your password list; you might wait anywhere from a few minutes to several days. On my dual-core Intel processor, aircrack-ng cracks just over 800 passwords per second.<\/p>\n<p>When the password is found, it will appear on your screen. Whether the password cracking is successful or not depends on your list. If you are unable to crack the password with one list, do not despair; try another one.<\/p>\n<h3>Tips for Use<\/h3>\n<p><\/p>\n<ol>\n<li>This type of attack is effective for password cracking from a list but is practically useless for random cracking. It all comes down to time. If the Wi-Fi is protected by an average password made up of Latin letters and numbers, random cracking could take several years.<\/li>\n<li>When choosing a password list, be sure to consider geographical factors. For example, there is no point in trying to crack a restaurant's Wi-Fi in Paris using a Russian password list.<\/li>\n<li>If you are hacking home Wi-Fi, try to find out some personal information about the victim (name, surname, date of birth, dog's name, etc.) and generate an additional password list based on these details.<\/li>\n<li>After capturing the handshake, disable aireplay-ng (do not cause inconvenience to ordinary users).<\/li>\n<\/ol>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/464503\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445. \u041f\u0440\u0438\u0437\u044b\u0432\u0430\u0435\u043c \u0432\u0430\u0441 \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u0442\u044f\u043c\u0438 \u0438 \u0437\u0430\u043a\u043e\u043d, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043e\u0431 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 1990-\u0445 \u0433\u043e\u0434\u043e\u0432, \u043a\u043e\u0433\u0434\u0430 Wi-Fi \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f, \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c Wired Equivalent Privacy, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Wi-Fi \u0441\u0435\u0442\u0435\u0439. \u041e\u0434\u043d\u0430\u043a\u043e, WEP \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u043c \u0437\u0430\u0449\u0438\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043b\u0435\u0433\u043a\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":28067,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-37406","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/podbor-parolya-wi-fi-utilitoj-aircrack-ng\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u043e\u0434\u0431\u043e\u0440 \u043f\u0430\u0440\u043e\u043b\u044f Wi-Fi \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 aircrack-ng | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/podbor-parolya-wi-fi-utilitoj-aircrack-ng\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:17:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:17:27+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Wi-Fi password cracking with aircrack-ng | ProHoster","description":"This article is written solely for informational and research purposes.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/podbor-parolya-wi-fi-utilitoj-aircrack-ng","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u043e\u0434\u0431\u043e\u0440 \u043f\u0430\u0440\u043e\u043b\u044f Wi-Fi \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 aircrack-ng | ProHoster","og:description":"\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/podbor-parolya-wi-fi-utilitoj-aircrack-ng","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:17:27+00:00","article:modified_time":"2019-10-31T19:17:27+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"37406","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 17:42:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 14:35:55","updated":"2026-01-23 17:42:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/37406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=37406"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/37406\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/28067"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=37406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=37406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=37406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}