Initial Access Tactics, techniques and procedures: Difference between revisions

From Enlace Hacktivista
Jump to navigation Jump to search
Tag: Manual revert
Line 98: Line 98:
[https://enlacehacktivista.org/hackback2.webm Guacamaya] scanning for proxyshell using zmap:  
[https://enlacehacktivista.org/hackback2.webm Guacamaya] scanning for proxyshell using zmap:  
<pre>
<pre>
sudo zmap -q -p 443 | [https://github.com/projectdiscovery/httpx httpx] -silent -s -sd -location \
sudo zmap -q -p 443 | httpx -silent -s -sd -location \
> | awk '/owa/ { print substr($1,9) }' > owa.txt
> | awk '/owa/ { print substr($1,9) }' > owa.txt
</pre>
</pre>

Revision as of 17:12, 25 April 2023

Phishing

Phishing is the most common attack method favored by advanced persistent threat groups and cyber criminal organized gangs. This is because it relies on social engineering to trick the target to either download a malicious email attachment or click on a malicious link. As hacktivists we want to find away to gain entry inside the targets network as quickly and easily as possible to leak documents, expose lies and corruption and free the truth!

Tools

Password Attacks

Groups like Lapsus$ show's the world that you don't need to be a great technical hacker to pwn massive corporations and if common password and multi-factor authentication (MFA) attacks work on the likes of Uber, Rockstar games, Okta and so on then they will work on our hacktivist targets!

If your target uses multi-factor authentication you can try either social engineering or MFA fatigue.

Username creation based on recon/osint

Passwords

Password cracking tools

A basic example using a wordlist in the format of email:pass/user:pass. hydra -C creds.txt target.com -s 443 http-post-form "/login:username=^USER^&password=^PASS^:These credentials do not match our records." -S

Searching leaks

Services

Please note: DO NOT use intelx[.]io as they have been seen doxing hackers in the past and block the use of Tor. AVOID!

Once your leaks have been downloaded you can parse your results in the format, email:pass.

Buying access

WARNING! The genesis market has been seized by the authorities. They do operate a v3 Tor onion address however it's unclear whether or not the feds have back-end access to the market so for safety we won't list it here. Genesis admin response.

You can use the genesis market to purchase credentials stolen from targets through the use of info stealer malware. Search your target here to see if you can make a quick win gaining access to an admin account. Any account that allows internal access is always a great start. Invites can be found on forums and markets.

You can also find access brokers selling network access inside of companies on forums. Services include but is not limited to account credentials, shells, implants, and other remote management software (RDP, VPN, SSH, etc).

Password spraying

Hash cracking

Targeted spray and pray

As seen by Guacamaya, hacktivists can benefit from a highly targeted spray and pray campaign whereby you scan IP ranges of countries of interest or our target companies IP ranges for critical vulnerabilities and grep out targeted domains. In the case of Guacamaya they scanned and exploited proxyshell and yoinked all their target emails out of their Microsoft exchange email servers and leaked them. You can also do the same! See scanning and recon for tools such as nuclei and the nmap scripting engine (NSE) to then scan the IP addresses you discover. You can resolve the IP addresses to their respective domains (reverse DNS lookup) using nmap -Pn -sS -R -iL targets.txt -oA results, however this is also done by default when performing a vulnerability scan using NSE.

Tools

Scan IP ranges, output only ipv4 addresses and block known honeypots:

sudo masscan -Pn -sS -iL ranges.txt --rate 3000 -p80,443 --excludefile block.txt | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | awk '{ print } END { print "" }' > results.txt

Guacamaya scanning for proxyshell using zmap:

sudo zmap -q -p 443 | httpx -silent -s -sd -location \
> | awk '/owa/ { print substr($1,9) }' > owa.txt