WiFiJammer: Amazing Wi-Fi Tool


The name sounds exciting but really does it jam WiFi networks? Yes, it is able to do the thing which it's name suggests. So today I'm going to show you how to annoy your friend by cutting him/her short of the WiFi service.

Requirements:


  1. A computer/laptop with WiFi capable of monitoring (monitor mode).
  2. A Linux OS (I'm using Arch Linux with BlackArch Repos)
  3. And the most obvious thing wifijammer (If you're having BlackArch then you already have it).


How does it work? You maybe thinking!, it's quite simple it sends the deauth packets from the client to the AP (Access Point) after spoofing its (client's) mac-address which makes AP think that it's the connected client who wants to disconnect and Voila!

Well to jam all WiFi networks in your range its quite easy just type:

sudo wifijammer



but wait a minute this may not be a good idea. You may jam all the networks around you, is it really what you want to do? I don't think so and I guess it's illegal.

We just want to play a prank on our friend isn't it? So we want to attack just his/her AP. To do that just type:

sudo wifijammer -a <<AP-MAC-ADDRESS>>

here -a flag specifies that we want to jam a particular AP and after it we must provide the MAC-ADDRESS of that particular AP that we want to jam.
Now how in the world am I going to know what is the MAC-ADDRESS of my friend's AP without disturbing the other people around me?
It's easy just use the Hackers all time favorite tool airodump-ng. Type in the following commands:

sudo airmon-ng

sudo airodump-ng

airmon-ng will put your device in monitor mode and airodump-ng will list all the wifi networks around you with their BSSID, MAC-ADDRESS, and CHANNELS. Now look for your friend's BSSID and grab his/her MAC-ADDRESS and plug that in the above mentioned command. Wooohooo! now you are jamming just your friend's wifi network.

Maybe that's not what you want, maybe you want to jam all the people on a particular channel well wifijammer can help you even with that just type:

sudo wifijammer -c <<CHANNEL-NUMBER>>

with -c we specify to wifijammer that we only want to deauth clients on a specified channel. Again you can see with airodump-ng who is on which channel.

wifijammer has got many other flags you can check out all flags using this command that you always knew:

sudo wifijammer -h



Hope you enjoyed it, good bye and have fun :)
More info

TYPES OF HACKING

Types of hacking?
We can segregate hacking into different categories, based on what being hacked. Here is a set of examples-

1-Website Hacking- Hacking a website means taking unauthorized control over a web server and its associated software such as databases and other interfaces.

2-Network Hacking-Hacking a network means gathering information about a network by using tool like Telnet, Nslookup, Ping, Tracert, Netstat etc with the intent to harm the network system and hamper its operation.

3-Email Hacking-It includes getting unauthorized access on an Email account and using it without taking the permission of the owner.

4-Ethical Hacking-It involves finding weakness in a computer or network system for testing purpose and finally getting them fixed.

5-Password Hacking-This is the process of recovering secret password from data that has been stored in or transmitted by a computer system.

6-Computer Hacking-This is the process of stealing computer ID & Passwords by applying hacking methods and getting unauthorized access to a computer system.
More information

  1. Hacker Tools Free
  2. Hacking Tools Pc
  3. Hacker Tool Kit
  4. Hacker Tools Mac
  5. Hacker Search Tools
  6. Pentest Tools For Mac
  7. Hacking Tools Pc
  8. Hack Tools Download
  9. Best Hacking Tools 2020
  10. Hack Tools Online
  11. Hack Apps
  12. Hacker Security Tools
  13. Bluetooth Hacking Tools Kali
  14. Pentest Tools Linux
  15. Pentest Reporting Tools
  16. Pentest Tools Download
  17. Hack Tools For Games
  18. Hacks And Tools
  19. Pentest Tools Bluekeep
  20. How To Make Hacking Tools
  21. Usb Pentest Tools
  22. Hacker Tools
  23. Hacking Tools And Software
  24. Pentest Automation Tools
  25. Pentest Tools Open Source
  26. Hacking Tools Download
  27. Install Pentest Tools Ubuntu
  28. Pentest Tools Download
  29. Pentest Tools Subdomain
  30. Hacking Tools For Pc
  31. Hacker Tools
  32. Hacker
  33. Hacking Tools For Beginners
  34. Hacking Tools And Software
  35. Hacker Tools Free Download
  36. Pentest Tools Framework
  37. Hacking Tools Usb
  38. Hackers Toolbox
  39. Hacker Search Tools
  40. Hacker Tools Mac
  41. Pentest Tools Apk
  42. Hack And Tools
  43. Pentest Tools Review
  44. New Hack Tools
  45. Hacker Tools Linux
  46. What Are Hacking Tools
  47. Pentest Tools For Ubuntu
  48. Hack Rom Tools
  49. Install Pentest Tools Ubuntu
  50. Easy Hack Tools
  51. Pentest Box Tools Download
  52. Pentest Tools Port Scanner
  53. Hacker Tools For Pc
  54. Hack Tools
  55. New Hack Tools
  56. Hacker Tools Free Download
  57. New Hack Tools
  58. Hacker Tools For Pc
  59. Hackers Toolbox
  60. Hacker Tools
  61. Hacking Tools And Software
  62. Hack App
  63. Hacking Tools Online
  64. Pentest Tools Windows
  65. Hack Tool Apk No Root
  66. Hack Tools
  67. Pentest Box Tools Download
  68. New Hacker Tools
  69. Ethical Hacker Tools
  70. Kik Hack Tools
  71. Hacking Tools Windows
  72. Hack Tools Github
  73. Pentest Tools Open Source
  74. Hacking Tools For Games
  75. Pentest Tools Apk
  76. Hacker Tools 2020
  77. Bluetooth Hacking Tools Kali
  78. Pentest Tools Nmap
  79. Hacker
  80. Pentest Tools
  81. Hacking Tools For Mac
  82. Hacking Tools Kit
  83. World No 1 Hacker Software
  84. Hack Tools Pc
  85. Hacking Tools Pc
  86. Hack And Tools
  87. Hack Tools For Games
  88. Usb Pentest Tools
  89. Pentest Tools Linux
  90. Hacker Tools Mac
  91. Github Hacking Tools
  92. Pentest Tools For Mac
  93. Pentest Reporting Tools
  94. Tools 4 Hack
  95. Hacker Tools Linux
  96. Pentest Tools Online
  97. Pentest Tools Free
  98. Pentest Tools Free
  99. Hacker Tools For Ios
  100. Hacker Tools Online
  101. Hack And Tools
  102. Bluetooth Hacking Tools Kali
  103. World No 1 Hacker Software
  104. Hacker
  105. Pentest Tools Github
  106. Hacker Tools For Windows
  107. Hacking Tools For Windows Free Download
  108. Hacker Tools Linux
  109. Pentest Tools Framework
  110. Pentest Tools Windows
  111. Pentest Tools Nmap
  112. Hacker Tools Mac
  113. Pentest Tools For Ubuntu
  114. Hack App
  115. Hacking Tools Kit
  116. Github Hacking Tools
  117. Pentest Tools For Android
  118. Tools Used For Hacking
  119. Hack Tools Online
  120. Hacker Security Tools
  121. Hack Tools For Ubuntu
  122. Hacker Tools Online
  123. Pentest Tools Android
  124. Hacking Tools Kit
  125. Hack Tools Github
  126. Pentest Tools For Windows
  127. Hacker Tools
  128. Pentest Tools Url Fuzzer
  129. Hacking Tools For Mac
  130. Hacker Security Tools
  131. How To Hack
  132. Pentest Tools Alternative
  133. Hacker Techniques Tools And Incident Handling

Blockchain Exploitation Labs - Part 3 Exploiting Integer Overflows And Underflows




In part 1 and 2 we covered re-entrancy and authorization attack scenarios within the Ethereum smart contract environment. In this blog we will cover integer attacks against blockchain decentralized applications (DAPs) coded in Solidity.

Integer Attack Explanation:

An integer overflow and underflow happens when a check on a value is used with an unsigned integer, which either adds or subtracts beyond the limits the variable can hold. If you remember back to your computer science class each variable type can hold up to a certain value length. You will also remember some variable types only hold positive numbers while others hold positive and negative numbers.

If you go outside of the constraints of the number type you are using it may handle things in different ways such as an error condition or perhaps cutting the number off at the maximum or minimum value.

In the Solidity language for Ethereum when we reach values past what our variable can hold it in turn wraps back around to a number it understands. So for example if we have a variable that can only hold a 2 digit number when we hit 99 and go past it, we will end up with 00. Inversely if we had 00 and we subtracted 1 we would end up with 99.


Normally in your math class the following would be true:

99 + 1 = 100
00 - 1 = -1


In solidity with unsigned numbers the following is true:

99 + 1 = 00
00 - 1 = 99



So the issue lies with the assumption that a number will fail or provide a correct value in mathematical calculations when indeed it does not. So comparing a variable with a require statement is not sufficiently accurate after performing a mathematical operation that does not check for safe values.

That comparison may very well be comparing the output of an over/under flowed value and be completely meaningless. The Require statement may return true, but not based on the actual intended mathematical value. This in turn will lead to an action performed which is beneficial to the attacker for example checking a low value required for a funds validation but then receiving a very high value sent to the attacker after the initial check. Lets go through a few examples.

Simple Example:

Lets say we have the following Require check as an example:
require(balance - withdraw_amount > 0) ;


Now the above statement seems reasonable, if the users balance minus the withdrawal amount is less than 0 then obviously they don't have the money for this transaction correct?

This transaction should fail and produce an error because not enough funds are held within the account for the transaction. But what if we have 5 dollars and we withdraw 6 dollars using the scenario above where we can hold 2 digits with an unsigned integer?

Let's do some math.
5 - 6 = 99

Last I checked 99 is greater than 0 which poses an interesting problem. Our check says we are good to go, but our account balance isn't large enough to cover the transaction. The check will pass because the underflow creates the wrong value which is greater than 0 and more funds then the user has will be transferred out of the account.

Because the following math returns true:
 require(99 > 0) 

Withdraw Function Vulnerable to an UnderFlow:

The below example snippet of code illustrates a withdraw function with an underflow vulnerability:

function withdraw(uint _amount){

    require(balances[msg.sender] - _amount > 0);
    msg.sender.transfer(_amount);
    balances[msg.sender] -= _amount;

}


In this example the require line checks that the balance is greater then 0 after subtracting the _amount but if the _amount is greater than the balance it will underflow to a value above 0 even though it should fail with a negative number as its true value.

require(balances[msg.sender] - _amount > 0);


It will then send the value of the _amount variable to the recipient without any further checks:

msg.sender.transfer(_amount);

Followed by possibly increasing the value of the senders account with an underflow condition even though it should have been reduced:

balances[msg.sender] -= _amount;


Depending how the Require check and transfer functions are coded the attacker may not lose any funds at all but be able to transfer out large sums of money to other accounts under his control simply by underflowing the require statements which checks the account balance before transferring funds each time.

Transfer Function Vulnerable to a Batch Overflow:

Overflow conditions often happen in situations where you are sending a batched amount of values to recipients. If you are doing an airdrop and have 200 users who are each receiving a large sum of tokens but you check the total sum of all users tokens against the total funds it may trigger an overflow. The logic would compare a smaller value to the total tokens and think you have enough to cover the transaction for example if your integer can only hold 5 digits in length or 00,000 what would happen in the below scenario?


You have 10,000 tokens in your account
You are sending 200 users 499 tokens each
Your total sent is 200*499 or 99,800

The above scenario would fail as it should since we have 10,000 tokens and want to send a total of 99,800. But what if we send 500 tokens each? Lets do some more math and see how that changes the outcome.


You have 10,000 tokens in your account
You are sending 200 users 500 tokens each
Your total sent is 200*500 or 100,000
New total is actually 0

This new scenario produces a total that is actually 0 even though each users amount is 500 tokens which may cause issues if a require statement is not handled with safe functions which stop an overflow of a require statement.



Lets take our new numbers and plug them into the below code and see what happens:

1. uint total = _users.length * _tokens;
2. require(balances[msg.sender] >= total);
3. balances[msg.sender] = balances[msg.sender] -total;

4. for(uint i=0; i < users.length; i++){ 

5.       balances[_users[i]] = balances[_users[i]] + _value;



Same statements substituting the variables for our scenarios values:

1. uint total = _200 * 500;
2. require(10,000 >= 0);
3. balances[msg.sender] = 10,000 - 0;

4. for(uint i=0; i < 500; i++){ 

5.      balances[_recievers[i]] = balances[_recievers[i]] + 500;


Batch Overflow Code Explanation:

1: The total variable is 100,000 which becomes 0 due to the 5 digit limit overflow when a 6th digit is hit at 99,999 + 1 = 0. So total now becomes 0.

2: This line checks if the users balance is high enough to cover the total value to be sent which in this case is 0 so 10,000 is more then enough to cover a 0 total and this check passes due to the overflow.

3: This line deducts the total from the senders balance which does nothing since the total of 10,000 - 0 is 10,000.  The sender has lost no funds.

4-5: This loop iterates over the 200 users who each get 500 tokens and updates the balances of each user individually using the real value of 500 as this does not trigger an overflow condition. Thus sending out 100,000 tokens without reducing the senders balance or triggering an error due to lack of funds. Essentially creating tokens out of thin air.

In this scenario the user retained all of their tokens but was able to distribute 100k tokens across 200 users regardless if they had the proper funds to do so.

Lab Follow Along Time:

We went through what might have been an overwhelming amount of concepts in this chapter regarding over/underflow scenarios now lets do an example lab in the video below to illustrate this point and get a little hands on experience reviewing, writing and exploiting smart contracts. Also note in the blockchain youtube playlist we cover the same concepts from above if you need to hear them rather then read them.

For this lab we will use the Remix browser environment with the current solidity version as of this writing 0.5.12. You can easily adjust the compiler version on Remix to this version as versions update and change frequently.
https://remix.ethereum.org/

Below is a video going through coding your own vulnerable smart contract, the video following that goes through exploiting the code you create and the videos prior to that cover the concepts we covered above:


Download Video Lab Example Code:

Download Sample Code:

//Underflow Example Code: 
//Can you bypass the restriction? 
//--------------------------------------------
 pragma solidity ^0.5.12;

contract Underflow{
     mapping (address =>uint) balances;

     function contribute() public payable{
          balances[msg.sender] = msg.value;  
     }

     function getBalance() view public returns (uint){
          return balances[msg.sender];     
     }

     function transfer(address _reciever, uint _value) public payable{
         require(balances[msg.sender] - _value >= 5);
         balances[msg.sender] = balances[msg.sender] - _value;  

         balances[_reciever] = balances[_reciever] + _value;
     }
    
}

This next video walks through exploiting the code above, preferably hand coded by you into the remix environment. As the best way to learn is to code it yourself and understand each piece:


 

Conclusion: 

We covered a lot of information at this point and the video series playlist associated with this blog series has additional information and walk throughs. Also other videos as always will be added to this playlist including fixing integer overflows in the code and attacking an actual live Decentralized Blockchain Application. So check out those videos as they are dropped and the current ones, sit back and watch and re-enforce the concepts you learned in this blog and in the previous lab. This is an example from a full set of labs as part of a more comprehensive exploitation course we have been working on.

More articles
  1. Easy Hack Tools
  2. Hack App
  3. Hacking Tools Windows
  4. Hacking Tools Github
  5. Pentest Automation Tools
  6. Top Pentest Tools
  7. Hacking Tools For Windows 7
  8. Hacking Tools Mac
  9. Hacker Hardware Tools
  10. Hacking Tools For Games
  11. Pentest Tools Nmap
  12. Ethical Hacker Tools
  13. Kik Hack Tools
  14. Pentest Tools Linux
  15. Pentest Tools Review
  16. Hacking Tools Windows 10
  17. Hacker Tools Apk
  18. Pentest Tools Nmap
  19. Hack Tool Apk
  20. Pentest Tools Free
  21. Hacking Tools Name
  22. Pentest Tools Tcp Port Scanner
  23. Physical Pentest Tools
  24. Hacker Tools For Mac
  25. How To Hack
  26. Pentest Tools Nmap
  27. Hacking Tools Windows
  28. What Are Hacking Tools
  29. Hacking Apps
  30. Hacking Tools Online
  31. Tools For Hacker
  32. Hacker Tools For Windows
  33. Hacking Tools Pc
  34. Pentest Tools Subdomain
  35. Hack Website Online Tool
  36. Computer Hacker
  37. Hacking Tools Hardware
  38. Pentest Reporting Tools
  39. Hacking Tools Download
  40. Hacks And Tools
  41. Hacking Tools For Games
  42. How To Install Pentest Tools In Ubuntu
  43. Hacking Tools For Beginners
  44. Nsa Hacker Tools
  45. Hacker Tools Windows
  46. Hacker Tools 2019
  47. Pentest Tools Linux
  48. Growth Hacker Tools
  49. Hacking Tools Name
  50. Hack App
  51. Pentest Tools Website
  52. Hacking Tools Free Download
  53. Pentest Tools Subdomain
  54. Pentest Tools Website
  55. Pentest Tools Find Subdomains
  56. Hacking Tools
  57. Tools Used For Hacking
  58. Physical Pentest Tools
  59. Hacking Tools Software
  60. Hack Tools For Windows
  61. Hacking Tools For Windows Free Download
  62. Hacker Tool Kit
  63. Hacker Tools For Ios
  64. Hacker Tools
  65. Pentest Tools Download
  66. Tools For Hacker
  67. Pentest Tools For Ubuntu
  68. Pentest Tools Apk
  69. Hack And Tools
  70. Hacking Tools
  71. Hacking Tools Online
  72. Hacker Tools List
  73. Physical Pentest Tools
  74. Hacker Tools Hardware
  75. Hack Tools For Games
  76. Hacker Tools Github
  77. New Hack Tools
  78. Hack Apps
  79. Hacker Tools List
  80. Hacker Search Tools
  81. Pentest Tools Free
  82. Pentest Tools Nmap
  83. Pentest Tools
  84. How To Hack
  85. Pentest Tools Github
  86. Hack Apps
  87. Pentest Tools For Windows
  88. Hacker Tools Apk Download
  89. Pentest Tools Github
  90. Hack Apps
  91. Kik Hack Tools
  92. Hacker Tools Apk
  93. Hack Tool Apk
  94. Hacks And Tools
  95. Pentest Tools For Android
  96. Physical Pentest Tools
  97. Growth Hacker Tools
  98. Hackrf Tools
  99. Bluetooth Hacking Tools Kali
  100. Hacker Tools List
  101. Pentest Box Tools Download
  102. Pentest Tools Url Fuzzer
  103. Pentest Tools For Windows
  104. Pentest Tools Tcp Port Scanner
  105. Blackhat Hacker Tools
  106. Hacking Tools For Windows
  107. Hacker Tools Linux
  108. How To Make Hacking Tools
  109. Hack Tools Download
  110. Hacking Tools Hardware
  111. Hacker Tools Mac
  112. Pentest Tools Tcp Port Scanner
  113. Pentest Tools Review
  114. Hacking Tools For Beginners
  115. Hacker Tools Free Download
  116. Hacker Tools For Ios
  117. Hack Tools For Pc
  118. Hacking Tools Download
  119. Hacking Tools For Games
  120. Nsa Hacker Tools
  121. Hacker Tools Apk
  122. Hack Tools Online
  123. Hacker Tools For Mac
  124. Hackrf Tools
  125. Tools For Hacker
  126. Easy Hack Tools
  127. Pentest Tools Framework
  128. Tools For Hacker
  129. Hack Website Online Tool
  130. World No 1 Hacker Software
  131. Nsa Hacker Tools
  132. Pentest Tools Website Vulnerability
  133. Hacker Tools For Windows
  134. Pentest Tools
  135. Hacker Tools Mac
  136. Pentest Tools List
  137. Hacker Tools 2019
  138. New Hacker Tools
  139. Pentest Tools Website Vulnerability
  140. What Are Hacking Tools
  141. Hacking Tools Pc
  142. World No 1 Hacker Software
  143. Hacker Tools Apk Download
  144. Hacking Tools For Windows
  145. Pentest Box Tools Download
  146. Usb Pentest Tools
  147. Hacking Tools Pc
  148. Pentest Tools Find Subdomains
  149. Usb Pentest Tools
  150. Hacker Tools Hardware
  151. Hacks And Tools
  152. Pentest Recon Tools
  153. Hacking Tools For Windows Free Download
  154. Hack Tools
  155. Hack Website Online Tool
  156. Hacking Tools For Games
  157. Hacker Tools Hardware
  158. Underground Hacker Sites
  159. Game Hacking
  160. What Are Hacking Tools
  161. Hacker Tools List
  162. Pentest Tools Review
  163. Hacking Tools Software
  164. New Hack Tools
  165. What Is Hacking Tools
  166. Hacking Tools For Games
  167. Hackers Toolbox
  168. Hacker Tools Apk Download
  169. Pentest Tools For Ubuntu
  170. Hack Tools For Ubuntu
  171. Hacking Tools For Mac
  172. Hacker Techniques Tools And Incident Handling
  173. New Hacker Tools
  174. Pentest Tools Alternative
abcs