Sunday, August 30, 2020

C++ Std::Condition_Variable Null Pointer Derreference


This story is about a bug generated by g++ and clang compilers (at least)
The condition_variables is a feature on the standard library of c++ (libstdc++), when its compiled statically a weird asm code is generated.


Any example on the link below will crash if its compiled statically:
 https://en.cppreference.com/w/cpp/thread/condition_variable



In this case the condition_variable.wait() crashed, but this happens with other methods, a simple way to trigger it:




If this program is compiled dynamically the crash doesn't occur:

Looking the dissasembly there is a surprise created by the compiler:


Compilers:
    g++  9.2.1+20200130-2
    clang++ v9

Both compilers are generating the "call 0x00"

If we check this call in a dynamic compiled:




The implementation of condition_variable in github:
https://github.com/gcc-mirror/gcc/blob/b7c9bd36eaacac42631b882dc67a6f0db94de21c/libstdc%2B%2B-v3/include/std/condition_variable


The compilers can't copile well this code in static,  and same happens on  other condition_variable methods.
I would say the _lock is being assembled improperly in static, is not exacly a null pointer derreference but the effects are the same, executing code at address 0x00 which on linux is a crash on most of cases.

More articles


Saturday, August 29, 2020

Vulnerable-AD - Create A Vulnerable Active Directory That'S Allowing You To Test Most Of Active Directory Attacks In Local Lab


Create a vulnerable active directory that's allowing you to test most of active directory attacks in local lab.

Main Features
  • Randomize Attacks
  • Full Coverage of the mentioned attacks
  • you need run the script in DC with Active Directory installed
  • Some of attacks require client workstation

Supported Attacks
  • Abusing ACLs/ACEs
  • Kerberoasting
  • AS-REP Roasting
  • Abuse DnsAdmins
  • Password in AD User comment
  • Password Spraying
  • DCSync
  • Silver Ticket
  • Golden Ticket
  • Pass-the-Hash
  • Pass-the-Ticket
  • SMB Signing Disabled

Example
# if you didn't install Active Directory yet , you can try 
Install-ADDSForest -CreateDnsDelegation:$false -DatabasePath "C:\\Windows\\NTDS" -DomainMode "7" -DomainName "cs.org" -DomainNetbiosName "cs" -ForestMode "7" -InstallDns:$true -LogPath "C:\\Windows\\NTDS" -NoRebootOnCompletion:$false -SysvolPath "C:\\Windows\\SYSVOL" -Force:$true
# if you already installed Active Directory, just run the script !
IEX((new-object net.webclient).downloadstring("https://raw.githubusercontent.com/wazehell/vulnerable-AD/master/vulnad.ps1"));
Invoke-VulnAD -UsersLimit 100 -DomainName "cs.org"

TODO
  • Add More realistic scenarios
  • Click close issue button on github




via KitPloit

More articles


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

How To Start | How To Become An Ethical Hacker

Are you tired of reading endless news stories about ethical hacking and not really knowing what that means? Let's change that!
This Post is for the people that:

  • Have No Experience With Cybersecurity (Ethical Hacking)
  • Have Limited Experience.
  • Those That Just Can't Get A Break


OK, let's dive into the post and suggest some ways that you can get ahead in Cybersecurity.
I receive many messages on how to become a hacker. "I'm a beginner in hacking, how should I start?" or "I want to be able to hack my friend's Facebook account" are some of the more frequent queries. Hacking is a skill. And you must remember that if you want to learn hacking solely for the fun of hacking into your friend's Facebook account or email, things will not work out for you. You should decide to learn hacking because of your fascination for technology and your desire to be an expert in computer systems. Its time to change the color of your hat 😀

 I've had my good share of Hats. Black, white or sometimes a blackish shade of grey. The darker it gets, the more fun you have.

If you have no experience don't worry. We ALL had to start somewhere, and we ALL needed help to get where we are today. No one is an island and no one is born with all the necessary skills. Period.OK, so you have zero experience and limited skills…my advice in this instance is that you teach yourself some absolute fundamentals.
Let's get this party started.
  •  What is hacking?
Hacking is identifying weakness and vulnerabilities of some system and gaining access with it.
Hacker gets unauthorized access by targeting system while ethical hacker have an official permission in a lawful and legitimate manner to assess the security posture of a target system(s)

 There's some types of hackers, a bit of "terminology".
White hat — ethical hacker.
Black hat — classical hacker, get unauthorized access.
Grey hat — person who gets unauthorized access but reveals the weaknesses to the company.
Script kiddie — person with no technical skills just used pre-made tools.
Hacktivist — person who hacks for some idea and leaves some messages. For example strike against copyright.
  •  Skills required to become ethical hacker.
  1. Curosity anf exploration
  2. Operating System
  3. Fundamentals of Networking
*Note this sites





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

Theharvester: Email Harvesting Throughout Year




You might have harvested many things upto now but what we are going to harvest today is something bad :)



Requirements:

  1. A Linux box (I'm using Kali Linux)
  2. theharvester program (already available in Kali Linux)
So what does theharvester harvest? Well it harvests email addresses. theharvester is an Information gathering tool. If you want a list of emails to spam you can get that easily from theharvester tool and go on Spamming (I'm joking its illegal). It's a security tool that helps you in pentesting an organization (as always it can be used for evil as well). You can gather emails from an organization and look for potential victims to attack or use brute-force techniques to get their passwords or Social Engineer them into doing something that will let you compromise some or all systems in the organization. Uhh there are so many things that you can do when you have access to someone's email address.

OK stop talking and start doing.


Fire up a terminal in your kali box and type this command:


theharvester -d hotmail.com -l 50 -b google


In a small amount of time you'll see your terminal flooded with 200 hotmail.com email address. What does this command mean?


theharvester is the tool name that we are using

-d <domain_name> specifies the domain (or website) who's email addresses we're looking for, in our case it was hotmail.com
-l <number> specifies the number of results that we want in the output, I limited it to 50
-b <source> specifies the source on which to look for email addresses, I specified google as the source

Besides google we can specify any of the follow as source:

google, googleCSE, bing, bingapi, pgp, linkedin, google-profiles, people123, jigsaw, twitter, googleplus, all
Here the last entry all means look in every available source.

Let's say you wanted to look in every available source they you should specify the following command:


theharvester -d hotmail.com -b all




-f is another great flag which can be utilized to save the output in case we want to SPAM them later (just kidding) or for other reasons (I'm thinking positive). -f flag saves the result in html or xml format. Let's do just that:


theharvester -d gmail.com -l 50 -b google -f emailaddresses.html


here -f flag is followed by the location where we want to store the file and the name of file, in our case we stored it in our pwd (present working directory) with the name emailaddresses.html.




Above picture shows an html output generated by harvester.


That's it for this tutorial hope to see you next time!

More information