Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.9K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Hacking Articles Tips Tricks Videos Tutorials
the server.<o:p Learn More: Domain Persistence: Golden Ticket Attack<o:pExtracting Tickets<o:pWe saw how to forge tickets. Tickets last longer than a normal persistence. Golden Tickets can last up to 10 years. Hence, we should have the ability to extract those…
o:p Mimitokens<o:pToken impersonation technique can be used as local administrator to impersonate another user logged on to a system. In case we compromised a local admin on the target machine then we can use it to impersonate another logged on user e.g., domain controller using Mimitokens.<o:p usemodule credentials/mimikatz/Mimitokens<o:pexecute<o:p<o:p https://1.bp.blogspot.com/-oOtMn7eoooY/YGyx7xSFMkI/AAAAAAAAvRI/Gl_HowRAsGUpzpHOQMq8_SszQrtSP4slACLcBGAsYHQ/s16000/10.png <v:shape<v:imagedata<o:p Crypto Keys<o:pThe keys module of the PowerShell Empire works on the back of the crypto module of Mimikatz, It is one of the oldest module that still works in wild. It directs on the CryptoAPI functions of the target. In general sense the usability is like the certutil binary that is present in the Windows Machine by default. It uses the token impersonation to its advantage and then patches the legacy CryptoAPI functions to patch the CNG key isolation service that makes the keys exportable. After that it just exports those keys in a PVK file. <o:p usemodule credentials/mimikatz/keys<o:pexecute<o:p<o:p https://1.bp.blogspot.com/-eUPwbQ2jQ_g/YGyyE6m3PhI/AAAAAAAAvRU/1zEwZBO0uuYTPKbL6xQGGlJK9Nju38ULQCLcBGAsYHQ/s16000/11.png <v:shape<v:imagedata<o:p Purging Tickets<o:pWhile working with the tokens and tickets, there will be a time where the number of tickets would be too large to work with. This scenario will arise sooner or later and that’s when the purge module will help you. It will purge all the tickets in the current session. <o:p https://1.bp.blogspot.com/-KUrctJVz8tE/YGyyKz2ROGI/AAAAAAAAvRY/N9TQ7BpyIhUBmrQKGHW1goklKPEy7GulQCLcBGAsYHQ/s16000/12.png <v:shape<v:imagedata<o:p Logon Passwords<o:pMimikatz has the ability to retrieve clear text password as well as hashes. This is done by exploiting the Local Security Authority Service on the Windows. After a machine is compromised, the attacker can use the PowerShell Empire to load the logon passwords module to extract the clear text passwords. These passwords can be used to create Golden Tickets, Account Take Over or just a preliminary step to another attack. As we can see the image shown that we have successfully extracted the password for Yashika and Aarti Users.<o:p usemodule credentials/mimikatz/logonpasswords<o:pexecute<o:p<o:p https://1.bp.blogspot.com/-INmwoHetD60/YGyyT31A-BI/AAAAAAAAvRg/FK6gSXPjS7kHV-I0v7nal-bjVGOOCavJgCLcBGAsYHQ/s16000/13.png <v:shape<v:imagedata<o:p Learn More: Understanding Guide to Mimikatz<o:pLocal Security Authority (LSA|LSASS.EXE)<o:pLSA and LSASS stands for “Local Security Authority” And “Local Security Authority Subsystem (server) Service”, respectively. The LSA is a protected system process that authenticates and logs users on to the local computer. Domain credentials are used by the operating system and authenticated by the LSA. The LSA can validate user information by checking the SAM database located on the same computer. LSASS manages the local system policy, user authentication, and auditing while handling sensitive security data such as password hashes and Kerberos keys. The password is protected by the operating system. Only code running in-process with the LSA can read and write domain credentials. LSASS can store credentials in multiple forms, including: Reversibly encrypted plaintext, Kerberos tickets (ticket-granting tickets (TGTs), service tickets), NT hash, LAN Manager (LM) hash. <o:p

After compromising the target, we can use the PowerShell Empire to extract the user hashes from the machine with the help of the lsadump module as shown in the image. <o:p usemodule credentials/mimikatz/lsadump<o:pexecute<o:p<o:p https://1.bp.blogspot.com/-VeaYz8EDvyM/YGyyZeltnPI/AAAAAAAAvRo/oKwP41pq3KkYW_zrvBtGJbCtoHPQrt0XQCLcBGAsYHQ/s16000/14.[...]
Hacking Articles Tips Tricks Videos Tutorials
o:p Mimitokens<o:pToken impersonation technique can be used as local administrator to impersonate another user logged on to a system. In case we compromised a local admin on the target machine then we can use it to impersonate another logged on user e.g.,…
png <v:shape<v:imagedata<o:p Learn More: Credential Dumping: Local Security Authority (LSA|LSASS.EXE)<o:pSAM<o:pSAM is short for the Security Account Manager which manages all the user accounts and their passwords. It acts as a database. All the passwords are hashed and then stored SAM. It is the responsibility of LSA (Local Security Authority) to verify user login by matching the passwords with the database maintained in SAM. SAM starts running in the background as soon as the Windows boots up. The sam module of the PowerShell Empire can be used to extract the SAM file and the associated password hash. <o:p usemodule credentials/mimikatz/sam<o:pexecute<o:phttps://1.bp.blogspot.com/-Eb9EiBFMGd8/YGyyeL-S3hI/AAAAAAAAvRw/xomrbRfijJc5MHPjT841DSc1CmrpaVxWQCLcBGAsYHQ/s16000/15.png <v:shape<v:imagedata<o:p

After the target is compromised by other methods the attacker can use the PowerShell Empire sam module to target the SAM file and read the password hashes as shown in the image below. <o:p https://1.bp.blogspot.com/-PVmoaul08mc/YGyylIX7n0I/AAAAAAAAvR0/zOMsPMVjmBsjT2_WFJ9PnSrcLuIbrsd-ACLcBGAsYHQ/s16000/16.png <v:shape<v:imagedata<o:p Learn More: Credential Dumping: SAM<o:pConclusion<o:pAfter Credential Dumping Series which contained different tools that can be used against a specific vulnerability it felt like there is a gap for a guide that can help a person who is trying to get the reins of PowerShell Empire and to showcase the ability of Mimikatz to target the wide range of Windows Authentication Systems with compatibility to integrate with different frameworks such as Metasploit, PowerShell Empire, Koadic etc. <o:p
Hacking Articles Tips Tricks Videos Tutorials
Photo
Dark Reading: Attacks/Breaches
Ryuk's Rampage Has Lessons for the Enterprise

The Ryuk ransomware epidemic is no accident. The cybercriminals responsible for its spread have systematically exploited weaknesses in enterprise defenses that must be addressed.
Burpsuite-Copy-As-XMLHttpRequest - Copy As XMLHttpRequest BurpSuite Extension
http://www.kitploit.com/2021/04/burpsuite-copy-as-xmlhttprequest-copy.html
The extension adds a context menu to BurpSuite that allows you to copy multiple requests as Javascript's XmlHttpRequest, which simplifies PoC development when exploiting (https://www.kitploit.com/search/label/Exploiting) XSS.
Installation
download the latest JAR (https://www.kitploit.com/search/label/JAR) from releases or build manually add JAR to burpsuite (https://www.kitploit.com/search/label/Burpsuite) using tabs: "Extender" -> "Extensions" -> "Add"
Usage
select one request from any tab or a few requests in "Proxy" -> "HTTP history" tab invoke context menu and select "Copy as XMLHttpRequest"

Download Burpsuite-Copy-As-Xmlhttprequest (https://github.com/vulnbe/burpsuite-copy-as-xmlhttprequest)
Burpsuite-Copy-As-XMLHttpRequest - Copy As XMLHttpRequest BurpSuite Extension

The extension adds a context menu to BurpSuite that allows you to copy multiple requests as Javascript's XmlHttpRequest, which simplifies PoC development when exploiting XSS.Installation download the latest JAR from releases or build manually add JAR to burpsuite using tabs: "Extender" -> "Extensions" -> "Add" Usage select one request from any tab or a few requests in "Proxy" -> "HTTP history" tab invoke context menu and select "Copy as XMLHttpRequest" Download Burpsuite-Copy-As-Xmlhttprequest
Read more...
Before we get into how to protect python applications from dependency confusion attacks, we’ll define this new attack vector, give a bit…Continue reading on Ochrona Security » (https://medium.com/ochrona/preventing-dependency-confusion-attacks-in-python-fa6058ac972f?source=rss------bug_bounty-5)
A question and a request to specialists about Architecture, or any suggestions for a beginner :)
https://www.reddit.com/r/redteamsec/comments/mlon9x/a_question_and_a_request_to_specialists_about/

<!-- SC_OFF -->Question and request to specialists I would like to go deeper into AD security. Currently setting up the AD environment on the home lab, is there anyone who did something like that at home in the laboratory and would like to share the architecture they have implemented at home? I miss a bit of an idea, and I must honestly admit that I was inspired by a series of courses from "Red Team Labs: Enterprise Windows Environments", but this is too high a level for me, I like to throw myself into the deep water no less, this is where I learn the best :) <!-- SC_ON --> submitted by /u/r3g3x_abc (https://www.reddit.com/user/r3g3x_abc)
[link] (https://www.reddit.com/r/redteamsec/comments/mlon9x/a_question_and_a_request_to_specialists_about/) [comments] (https://www.reddit.com/r/redteamsec/comments/mlon9x/a_question_and_a_request_to_specialists_about/)