Hacking Articles Tips Tricks Videos Tutorials
471 subscribers
66K 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
Photo
KitPloit - PenTest Tools!
Uncover - Quickly Discover Exposed Hosts On The Internet Using Multiple Search Engine

https://blogger.googleusercontent.com/img/a/AVvXsEhRIkIidhwshIpmTPd_eWQflWfTTHmOyiJLUN0pL3PaLrjksuz3pRlkPsRz3dj1nTn9Cox7WAD9paRlDBvEWeMnSMqBZVasSvrb3HgilZzzi_lkrB1K8t-M_wBDf5lbJOVgl-fqMW132FId4mb2G2mcVgTgN8nKbzO70Rr5t1ctud2m4eZzX7Ju63W9=w640-h442 uncover is a go wrapper using APIs of well known search engines to quickly discover exposed hosts on the internet. It is built with automation in mind, so you can query it and utilize the results with your current pipeline tools. Currently, it supports shodan, censys, and fofa search engine. Features* Simple and Handy utility to query multiple search engine
* Multiple Search engine support (Shodan, Censys, Fofa)
* Automatic key/credential randomization
* stdin / stdout support for input and output Installation Instructionsuncover requires go1.17 to install successfully. Run the following command to get the repo - go install -v github.com/projectdiscovery/uncover/cmd/uncover@latestUsageuncover -hThis will display help for the tool. Here are all the flags it supports: Usage:
./uncover [flags]

Flags:
INPUT:
-q, -query string[] search query or list (file or comma separated or stdin)
-e, -engine string[] search engine to query (shodan,fofa,censys) (default shodan)

CONFIG:
-pc, -provider string provider configuration file (default "$HOME/.config/uncover/provider-config.yaml")
-config string flag configuration file (default "$HOME/.config/uncover/config.yaml")
-timeout int timeout in seconds (default 30)
-delay int delay between requests in seconds (0 to disable) (default 1)

OUTPUT:
-o, -output string output file to write found results
-f, -field string field to display in output (ip,port,host) (default ip:port)
-j, -json write output in JSONL(ines) format
-l, -limit int limit the number of results to return (default 100)
-nc, -no-color dis able colors in output

DEBUG:
-silent show only results in output
-version show version of the project
-v show verbose output
Provider ConfigurationThe default provider configuration file should be located at $HOME/.config/uncover/provider-config.yamland has the following contents as an example. In order to run this tool, the API keys / credentials needs to be added in this config file or set as environment variable. shodan:
- SHODAN_API_KEY1
- SHODAN_API_KEY2
censys:
- CENSYS_API_ID:CENSYS_API_SECRET
fofa:
- FOFA_EMAIL:FOFA_KEY
When multiple keys/credentials are specified for same provider in the config file, random key will be used for each execution.

alternatively you can also set the API key as environment variable in your bash profile. export SHODAN_API_KEY=xxx
export CENSYS_API_ID=xxx
export CENSYS_API_SECRET=xxx
export FOFA_EMAIL=xxx
export FOFA_KEY=xxx
Required keys can be obtained by signing up on Shodan, Censys, Fofa. Running Uncoveruncover supports multiple ways to make the query including stdin or qflag echo 'ssl:"Uber Technologies, Inc."' | uncover

__ ______ _________ _ _____ _____
/ / / / __ \/ ___/ __ \ | / / _ \/ ___/
/ /_/ / / / / /__/ /_/ / |/ / __/ /
\__,_/_/ /_/\___/\____/|___/\___/_/ v0.0.1
projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[WRN] By using uncover, you also agree to the terms of the APIs used.

107.180.12.116:993
107.180.26.155:443
104.244.99.31:443
161.28.20.79:443
104.21.8.108:443
198.71.233.203:443
104.17.237.13:443
162.255.165.171:443
12.237.119.61:443
192.169.250.211:443
104.16.251.50:443
Running uncover with file input containing multiple search queries pe[...]

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
KitPloit - PenTest Tools! Uncover - Quickly Discover Exposed Hosts On The Internet Using Multiple Search Engine https://blogger.googleusercontent.com/img/a/AVvXsEhRIkIidhwshIpmTPd_eWQflWfTTHmOyiJLUN0pL3PaLrjksuz3pRlkPsRz3dj1nTn9Cox7WAD9paRlDBvEWeMnSMqBZV…
r line. cat dorks.txt

ssl:"Uber Technologies, Inc."
title:"Grafana"uncover -q dorks.txt

__ ______ _________ _ _____ _____
/ / / / __ \/ ___/ __ \ | / / _ \/ ___/
/ /_/ / / / / /__/ /_/ / |/ / __/ /
\__,_/_/ /_/\___/\____/|___/\___/_/ v0.0.1
projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[WRN] By using uncover, you also agree to the terms of the APIs used.

107.180.12.116:993
107.180.26.155:443
104.244.99.31:443
161.28.20.79:443
104.21.8.108:443
198.71.233.203:443
2607:7c80:54:3::74:3001
104.198.55.35:80
46.101.82.244:3000
34.147.126.112:80
138.197.147.213:8086
uncover supports fieldflag to specify fields to return, currently ip, port, hostare supported. uncover -q jira -f host -silent

ec2-44-198-22-253.compute-1.amazonaws.com
ec2-18-246-31-139.us-west-2.compute.amazonaws.com
tasks.devrtb.com
leased-line-91-149-128-229.telecom.by
74.242.203.213.static.inetbone.net
ec2-52-211-7-108.eu-west-1.compute.amazonaws.com
ec2-54-187-161-180.us-west-2.compute.amazonaws.com
185-2-52-226.static.nucleus.be
ec2-34-241-80-255.eu-west-1.compute.amazonaws.com
uncover supports fieldflag which can be also used to customize the format of the output, for example in case of uncover -f https://ip:port/version, ip:portwill be replaced with results in the output maintaining the defined format.

kubernetes | uncover -f https://ip:port/version -silent https://35.222.229.38:443/version https://52.11.181.228:443/version https://35.239.255.1:443/version https://34.71.48.11:443/version https://130.211.54.173:443/version https://54.184.250.232:443/version">echo kubernetes | uncover -f https://ip:port/version -silent

https://35.222.229.38:443/version
https://52.11.181.228:443/version
https://35.239.255.1:443/version
https://34.71.48.11:443/version
https://130.211.54.173:443/version
https://54.184.250.232:443/version


uncover supports multiple search engine, as default shodan is used, engineflag can be used to specify any available search engines. echo jira | uncover -e shodan,censys -silent

176.31.249.189:5001
13.211.116.80:443
43.130.1.221:631
192.195.70.29:443
52.27.22.181:443
117.48.120.226:8889
106.52.115.145:49153
13.69.135.128:443
193.35.99.158:443
18.202.109.218:8089
101.36.105.97:21379
42.194.226.30:2626
Output of uncover can be further piped to other projects in workflow accepting stdin as input.

* uncover -q example -f ip | naabu- Runs naabu for port scanning on the found host.
* uncover -q title:GitLab | httpx- Runs httpx for web server probing the found result. uncover -q http.title:GitLab -silent | httpx -silent

https://15.185.150.109
https://139.162.137.16
https://164.68.115.243
https://135.125.215.186
https://163.172.59.119
http://15.236.10.197
https://129.206.117.248
* uncover -q 'org:"Example Inc."' | httpx | nuclei- Runs httpx / nuclei for vulnerability assessment. https://blogger.googleusercontent.com/img/a/AVvXsEiPnpNqFGwXSBRlSpeHubFIPKwWP6d41xwWREOqLHksVv4DK4UH3JaRY2UIOgPEcphSjx33mamXGoVugGCAZtI9904E13xp1hFIudaMbpRQq92fsgDwxSf0m2sMJDTgOh2A3RBN4tCKAmQXYUbGkjp0W425KTHIvRGUDheS4A1AuQcwZI_FdBnHdV8g=w640-h438 Notes:* keys/ credentials are required to configure before running or using this project.
* queryflag supports all the filters supported by underlying API in use.
* queryflag input needs be compatible with search engine in use.
* results are limited to 100as default and can be increased with limitflag.
uncover is made with love by the projectdiscovery team. Download Uncover

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
How do I spoof a phone number?

I know this is very basic but I'm new to all things hacking. Off of inspiration from Kevin mitnick I wanted to start with phones. Spoofing, automessage forwarding and the such

submitted by /u/ch1m3rachaos
[link] [comments]

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
Spoof SMS Sender

Is it still possible to spoof the sender of an sms message? I don't so much care about the recipient's reply, just would like to send a one way text from the number of my choosing. There used to be services for this online, but they seemed to have disappeared.

submitted by /u/MisfitEight4
[link] [comments]

___________________________
@hacking_Attack
@Hacking_Video
โปรแกรมตามหา Bug ของ Axelar Network

ภาพรวมของโปรแกรมContinue reading on Medium »
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking Articles
A Detailed Guide on Responder (LLMNR Poisoning)

IntroductionResponder is a widely used tool in penetration test scenarios and can be used for lateral movement across the network by red teamers. The tool contains many useful features like LLMNR, NT-NS and MDNS poisoning. It is used in practical scenarios for objectives like hash capture or poisoned answer forwarding supporting various AD attacks. The tool contains various built-in servers like HTTP, SMB, LDAP, DCE-RPC Auth server etc. In this article, we will cover a majority of these attacks that can be performed while being aided by the responder. Table of content* LLMNR, NBT-NS, MDNS and DHCP
* Responder Installation
* Attack 1: LLMNR/NBT-NS Poisoning through SMB
* Attack 2: LLMNR/NBT-NS Poisoning through WPAD
* Responder Analyze Mode
* Responder Basic Authentication Mode
* Responder Downgrade NTLMv2-SSP to NTLMv2
* Responder external IP poisoning
* Responder Multi-Relay: Shell on a system
* Responder DNS injection in DHCP response
* What are these servers in responder?
* Recommendations
* Conclusion LLMNR, NBT-NS, MDNS and DHCPLLMNR: LLMNR is a protocol that allows name resolution without the requirement of a DNS server. It is able to provide a hostname-to-IP based off a multicast packet sent across the network asking all listening Network-Interfaces to reply if they are authoritatively known as the hostname in the query.  It does this by sending a network packet to port UDP 5355 to the multicast network address. It allows IPv4 and IPv6 hosts and supports all current and future DNS formats, types, and classes. It is the successor of NBT-NS.

NBT-NS: NetBIOS name service (NBT-NS) is a Windows protocol that is used to translate NetBIOS names to IP addresses on a local network. It is analogous to what DNS does on the internet. Each machine is assigned a NetBIOS name by the NBT-NS service. Works on UDP port 137. It is the predecessor of LLMNR.

MDNS: Multicast DNS (mDNS) is a protocol aimed at helping with name resolution in networks. It doesn’t query a name server, rather, multicasts the queries to all the clients in a network directly. In multicast, an individual message is aimed directly at a group of recipients.  When a connection between sender and recipient is made, all participants are informed of the connection between the name and IP address and can make a corresponding entry in their mDNS cache.

LLMNR/NBT-NS Poisoning: Let’s say a victim wants to connect to a shared drive \\wow so it sends the request to the DNS server. The only problem is that DNS can’t connect to \\wow as it doesn’t exist. Therefore, the server replies back saying he can’t connect the victim to \\wow. Thereafter, the victim will multicast this request to the entire network (using LLMNR) in case any particular user knows the route to the shared drive (\\wow).

An adversary can spoof an authoritative source for name resolution by responding to this multicast request by a victim as if they know the identity of the shared drive a victim wants to connect with and in turn request its NTLM hash. This means that the attacker has now poisoned the service!

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVE0JujaHdtgJn3sTMBXSiR4ruZ5alpr-8kGVAdsx6gzR4WmOPLAkERsX9sh8oJQNQcQLyJvBR3xQi6wMYUr6RjMPpXOBSKoVN1UwQJg478eWg8QSVW-q9QQD8eWrcJyZcHmHY-cRLF12lhmsokuIvj1YYZ7bRfVyZ7kJTZz5SHAfUeEhK9YTtkameBw/s16000/0.png?w=640&ssl=1

DHCP Poisoning: Dynamic Host Client Protocol (DHCP) is used to provide a host with its IP address, subnet mask, gateway etc. Windows uses multiple custom DHCP options like NetBIOS, WPAD etc. By poisoning the DHCP response, an attacker would be able to help the victim pinpoint its own rogue server for any kind of authentication. In turn, compromising the credentials. Responder InstallationInitially developed by SpiderLabs and now being developed by Laurent [...]

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
Hacking Articles A Detailed Guide on Responder (LLMNR Poisoning) IntroductionResponder is a widely used tool in penetration test scenarios and can be used for lateral movement across the network by red teamers. The tool contains many useful features like…
Gaffie (lgandx), responder is a python coded tool that can be found here. The tool comes with built-in Kali OS. Responder.exe (Windows version) of the same can be found here.

It can be run using the command:
responder -h
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMdkuUouM8mVXnU_M0aSA58AgPqfdc6ViKx1v6O-_GzFN7aUwnvm4pztXOlOG0wFsotcYjIOHon9umSJnI7NuXBsLd1MWJ9mVuPCaAt054AIIq0_-FY2HSPlmO97g-QZlyKDKupmhdsPvAuI5OirmsezAGyn8VMCU_fGm7ow5SHg7iuJNeiYAcD5zxtw/s16000/1.png?w=640&ssl=1 Attack 1: LLMNR/NBT-NS Poisoning through SMBEssentially when a system tries to access an SMB share, it sends a request to the DNS server which then resolves the share name to the respective IP address and the requesting system can access it. However, when the provided share name doesn’t exist, the system sends out an LLMNR query to the entire network. This way, if any user(IP address) has access to that share, it can reply and provide the communication to the requestor.

Let’s see a share “wow” which doesn’t exist currently. If the share exists on the same network, wow can be accessed by typing “\\wow” in the address bar of file explorer. It doesn’t exist and so, Windows throws an error.

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV3cMBH4XJOBR4BMZXMfl78WtWOqp_QFmtOsHmrNmGy0vszO3VuFBTLPyLq2Rkvu0grS1lUe4LC0xpOWvvv9-AZA3HO5O1aRwpzaDnE_Yp2LC4fKm7kkyTn2Jk2CrsJbCusCCMidSOmajsgvcmwmrLFy9mmiIaX020vL0a75-pt4s8Hhw00-b-KnanQg/s16000/2.png?w=640&ssl=1

In comes responder. Now at this point, the requesting machine (windows 10) sends out an LLMNR request. We set up responder to poison that request. We need to tell responder the NIC on which we want to listen for LLMNR requests. Here, eth0. The default responder run shall start LLMNR and NBT-NS poisoning by default.
responder -I eth0
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8rSxYx0GVfXz6W5907NN5x_n1AOhAICepo6t5OubuU9xpih2Zo9s9m2kF2eq8vBOJOUD2VKEqASl9ZbGJTm84Cvke2lxZTpDrUc-zkf1Exs4QLiSHQQcM_7I1vEFeMbJAUr4g4OQrlo7rtdB49gv-ZUAs9hNaEjFFX9AOntC2TSCI3v0p6jL-ycw75g/s16000/3.png?w=640&ssl=1

Now, when the victim tries to access shared drive “wow” he sees this! Wow has suddenly been made available and the poisoner asking for user credentials.

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSXuQwXX06KelgjXBPaEijOxw6z2yRzgZtXGBcDmfL7tKXj7ZdHcarGYd-9YTGb6nTCAHP2lg_87psy7DmtSlpjqq53AKJnjmzjY0WR8Rj4R8c2ziB81UDrzfPpoheMKn589dGU_Zx9aBrZovJC7tISqOpxaPUjd4SSX1SX-kOBlutR6KlCOts3UTwiQ/s16000/4.png?w=640&ssl=1

Wow isn’t available at all! That’s just our poisoned answer in order to obtain NTLM hashes. Even if the user doesn’t input credentials, the hashes will be obtained.

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg68sVzz3F5qK6IjZRdLQqf4M90x1S8cI2kzi-bJdQiAhHBT4uI0fC95C4iELx5zkHh3UrVVTBmluQJsAIZQs4CCnjCOqjSIs3R8S1k1-Q5fnJ5OLidMfMRpU5r0LTbWGsb9EnrRPSRCiI9jD5CI5i2zSRhsjlDm7FxSX4gNTjAgMIOH7m3OZrUWkWnUA/s16000/5.png?w=640&ssl=1

We can now save these hashes in a file hash.txt and use hashcat to crack it. Please note that module number 5600 is the one suited to crack NTLMv2. If you obtained some other version of NTLM, please follow the hashcat modules here to specify the correct one.
hashcat -m 5600 hash.txt /usr/share/wordlists/rockyou.txt
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSR7vZLixbRxRQRUgE4Wli_MT1JIBNZNZf4CGLnwbodOeaqaoFpZC7G74jvyKP_nm1l7zV4awzfZwpvQDznmvseka_wmUYTSoyp-5Dpo5gJYoEG4SL1uvFEA3DpWb_ZWfj6GxpxQAMBhw9VTQpjd3Z0xYA_Q9Ev4WB1_yEAahB9oDs4lk2LjHpoHxI5g/s16000/6.png?w=640&ssl=1

As you can see, the password has now been obtained which is Password@1

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFXo7GTNv0Qkk9hryJmd2cU8caRbACms0XMYIX2xVHKSrQi9dytDxv26dABbSy8XNI1dWGjmyEXnLtABsWR-He91p09L44lR-ZsVQjRFrw970Fzmfm7WxwJo5mSIPDgwgTN7HQj2PhmRUhy1mNj4joJpVn_HwWsX6Nh-zFE5lHuZP54v3g5Ta0bUcz5w/s16000/7.png?w=640&ssl=1

Furthermore, responder creates logs of every sessions[...]

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
Gaffie (lgandx), responder is a python coded tool that can be found here. The tool comes with built-in Kali OS. Responder.exe (Windows version) of the same can be found here. It can be run using the command: responder -h https://i0.wp.com/blogger.google…
and all the hashes thus dumped can be seen under the folder /usr/share/responder/logs

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2_OmCmAS87AokK3bcm_H7ni328yUo_zABgh5a5DWIZbit_SW-8BvO49DAdqGkyPLLkEY9qQeXjaCmbGDljZgf5efw-Ulb-2MDjxRA0vAkUGONj5JW5SOyoL328o7AB3PjBGdR2ZcCrULgSq7lf9Fx9A9LDx-mtBT1RqhOh2sx_xgPvt0WrWix5ds_sQ/s16000/8.png?w=640&ssl=1 Attack 2: LLMNR/NBT-NS Poisoning through WPADWPAD: Web Proxy Autodiscovery Protocol is a method used by a browser to automatically locate and interface with cache services in a network so that information is delivered quickly. WPAD by default uses DHCP to locate a cache service to facilitate straightforward connectivity and name resolution.

In an organization that uses WPAD server, supply each browser with the same proxy configurations using a file called wpad.dat. Hence, any request going from any browser in a company domain first finds wpad.dat and then reads the configuration and finally sends the request to the destination.

When an invalid URL is an input in the browser, the browser fails to load that page using DNS and hence, sends out an LLMNR request to find a WPAD proxy server. This behaviour is there by default in browsers that have enabled “automatic configuration detection,” an option used often in corporate networks to route traffic through proxy. It then asks for wpad.dat which contains proxy’s auto-configuration data.

Responder (LLMNR poisoner) creates a rogue WPAD proxy server, poisons the request, and tells the browser that it has wpad.dat file and asks for authentication. When the user inputs his credentials, the hashes travel through the attacker!

Attack: To configure WPAD rogue proxy server we use the -w option. Furthermore, we added an optional switch of DHCP injection. This switch would inject rogue proxy’s address (kali IP) in the DHCP response. The attack could still work without this switch.
responder -I eth0 -wd
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnV2okcE5GQHOMfODfMVdW26OkUKM1GDK2gb2Fy4qh1TyCiTnccmAJC4x9UuUP5evlPyqGHnyCvAuXiXU9RF_Nspd-1BmEloS5M9oNtGfY1mqSpRg9IZUxF3IKNdVNp2JswIazgWFo3GLhVRYi5DEWz3em8zc0_WEOBMy80IfwF6WhDxFA7z9cLXnlsg/s16000/9.png?w=640&ssl=1

As you can see above, that DHCP poisoner and WPAD proxy have now been turned on. Now, when a user inputs any wrong URL, let’s say, randomurl.local, browser couldn’t locate it. Responder poisons and injects DHCP response with WPAD’s IP and the browser tries to authenticate to the WPAD server and gives a login prompt.

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif4uHhGpYlrjRO12D4y46wRfTebdxqm7m7xISh2f3oVnPxZw4fT7Pa_3BnuvKoaOykdwSkN_5hIjakS8jgILXeYz5Os9t9pGJOhjv5N8doX2Dj-JBwXegz_YY74HuYPk4ua3jmo94VnaV9-yXG60kKTRrLgoTYcyoUMU00Yq8vgj9nw-wUNCDervPWGQ/s16000/10.png?w=640&ssl=1

As soon as the client inputs his credentials, we receive their NTLM hashes!

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6aF-VeAAf614QPBCDoErcjyAbmvsPSI2d7hRViQeAkUW2E28TompJv9-QOsnBpQoZ5ndThdGTapjRoSju7zmUqs9shZQtCkTPfukek5A3Vy23IP6caEP_rA20RFacF7u_uDj_mVTvQzLTZfA0x-xdFX6xip3ttfEF4Hcgtf31vI5AgxoQv9SXpMRpaw/s16000/11.png?w=640&ssl=1

This can be viewed in the logs too, but this time under the name HTTP-NTLMV2-IPV6.txt format\

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmMToBqe_Em2bQ3Kzh1Soa2FCDWhnihfK--vED8vxAX7O6tttcnT0qyLC-FGA0vMCw9iqyClSSgw-_nctU80d0iBFEBQgOpIkiU-tDiVaX31f7n0HOL5BATMqtiZpnHONcOJzMokGVvhPF-YkbtiXX85Yb4-SKvDOOwiK8a8l0TdmEpYaOoheUhzR0RA/s16000/12.png?w=640&ssl=1

We can crack it using hashcat now
hashcat -m 5600 HTTP-NTLMv2-fe80::ddc5:3b8f:e421:a88a.txt /usr/share/wordlists/rockyou.txt
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSeuUPL41x8-4E_puFlUlyoYeCOrt3EIa7F_U0EtrO-_AS-nX9CengCfGrqTJEBIl0sVjUXwHQDE8KZj6_HqQd1km0DjiSqq3vo-yx5l0R5Fyr5D52VE8nhs1uC6wqSmUHw5TWx4wSA0ltAmLFYAulmHsUahzSqeX5r1mMhoKL2-o1IBaIDtIfhQZSnQ/s16000/13.png?w=640&ssl=1

Hash has been cracked and cl[...]

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
and all the hashes thus dumped can be seen under the folder /usr/share/responder/logs https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2_OmCmAS87AokK3bcm_H7ni328yUo_zABgh5a5DWIZbit_SW-8BvO49DAdqGkyPLLkEY9qQeXjaCmbGDljZgf5efw-Ulb-2MDj…
ear text password dumped!

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmSoigDPRMIxysJXpOE-qMY3P2x6r3SucyK6M6J13rynU2Aq-xguX0H4aCZY0fs01bIBo0ZVLLMcqMBxB3kkrsUPEyXXQiN-upVW1nRvGpTfEO40sl0SVQMeR8psoW0kD63iwvH17Gmbhc0ZGViNppI7X3w0u-4nmkI6txIyrzWfPkPpWyBZwM0JVCaQ/s16000/14.png?w=640&ssl=1 Responder Analyze ModeIn the analyze mode, responder doesn’t automatically poison the LLMNR requests, rather it tracks the network flow of the requests made in order to give essential information like name of the user, machine account being used, name of the DC, OS version etc. It can be switched on using -A switch
responder -I eth0 -A
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOuNR1FbiOdh6wCLhAWYXnvHCkpf4MgsEhub-mhhNCBgxX7AdHrNDhXBDWryBxke-s-ycmqzBEHA45T6qugSJgS4m_99btwwCM4b2pRBdExjyC6iWcViPi3bTW6q7JxfYFQmVuOHD2oUgh0SIzND4aO7hgCkP40m6veA8x5o-hahscsu-qao5JsjLHyQ/s16000/15.png?w=640&ssl=1

When a victim tried to access wrong sharename (Attack 1 method), responder analyses the entire flow and gives us the DC name, Windows OS version etc.

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbUkr4OJW6VuQMnpict3K3gg1wlaik_3LmQYXrX-yerT_cTDokVzIVlpHPKtd8jNVfuH-469bF3YCLbtRQXQm5-WsD_Y4yQC7KaMAPt0W8wZgzv0OFX6yXIrqASlMs6vytgIz9S9yeU59mUDLL4-VGXoNPg_ugHef4oAXdO2VHAyWEFybhFQEtGTkh6Q/s16000/16.png?w=640&ssl=1 Responder Basic Authentication ModeIn attack 2, we saw how an NTLM authentication windows was opened when our rogue WPAD proxy server was being accessed by poisoning LLMNR. In turn, we were able to retrieve the NTLMv2 hashes. We will imitate the same attack but this time, try to gain clear text credentials of the user using basic authentication! This can be achieved using the -b flag. Further, we are using -F switch to force basic authentication!
responder -I eth0 -wdF -b
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOpPK0XcbbInB5BoRS8VhcgsvIaFW4Kk4tlRo3V-7I87WH04pztzwZ-7kStR2uvijvqay7Bbaf7_R7IFnkiYulx1jYorRaTbaNidLf7wUYCXdDLEScfNVKs5xRE6lhDapkBetYXxajfy8sz7Ir5Bt1CWRQjqRSOTF5v9FBqMGOHw2IGRG5uh_vDKvu2A/s16000/17.png?w=640&ssl=1

Now, when a user tries to access any invalid URL, he sees the following prompt with the message saying that these credentials would be sent in clear text using basic authentication.

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAE1L8VjA2t1R7gAbTeoL8BzUJitAGdpPyBIiAcPOtsq9LNxdNGKJgPFlEmItjBtHfUss0KPC93m-yTdsCjQhHQLvu4AP1Dh1bFxiVvF-L9NqUjK0WUOkl5U2q-L28hAYLLhVJpEKvIV2tOpVJQuiLQ-TlhQTD0LLlvwcYwEed4sEL0y2nKbE7diHPw/s16000/18.png?w=640&ssl=1

As soon as use inputs his credentials, responder receives them and displays password in clear text!

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPnyExvjTWoK7UQw-7RvahNy4HbDzSNn9QSlmQRYgQBxb5u0Fv2yviG9Ew3WpM7cqipb4p_STfEIKmMV7LPn8O-ZQzRy2zjGeSg-T-a0NHEPIMgzE4KCUtDetiGb2t4prvoVnNsDWoEclEbxDVHhKhK7PHNxFdW4tCoUPdWc3TeHqeGNGljbohqj1iJw/s16000/19.png?w=640&ssl=1 Responder Downgrade NTLMv2-SSP to NTLMv2NTLM provides ESS functionality (Extended Session Security) which adds to the complexity of the NTLM hash. ESS functionality adds an “SSP” flag in the NTLM hash (NTLM2-SSP). This increases the length of our NTLM hash in turn increasing complexity to crack the hash. We can configure Responder to use simple NTLMv2 (without ESS) which would result in lower time complexity to crack hashes.

–disable-ess flag does that. –lm flag tries to force the NTLM authentication to version 1 instead of 2, which is not possible in later windows and windows server versions. Here, we will use Attack 2 procedure with disable-ess flag.
responder -I eth0 -wdF --lm --disable-ess
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglJ1KdgpOp_SetRFRiiZD0ia-5kjaDV870C8HA0QjOWFlAAsc4Lhf3-LCgchtZTKdjvJVT-pNHJQcL6G5slsM5MyohwZLnDN3SNvoSVSYA7K0eqMoV-_pZ-C29aPCtf4sat6VolBjnVOWdgSEF8uOp1Dje886FvCYIcmb81Z10-vbpRBHdTSYjgkVNJg/s16000/20.png?w=640&ssl=1

This would give the user [...]

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
ear text password dumped! https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmSoigDPRMIxysJXpOE-qMY3P2x6r3SucyK6M6J13rynU2Aq-xguX0H4aCZY0fs01bIBo0ZVLLMcqMBxB3kkrsUPEyXXQiN-upVW1nRvGpTfEO40sl0SVQMeR8psoW0kD63iwvH17Gmbhc0ZGViNppI7X3w0u-4…
a pop-up

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIefwDxzcX3Vag5pos72Uc9WkeYKEcU1AaaMOchlBZ_QUEr6jJ-C2K5AU1KKx_1wDyP9D0Y1_JCcGgOGPDkZ9iVcrhu-uj9pH2KaMtifyqw9HlsE-MO-7q8jjCPcmmkgBVnTCyihSX0vyY1RQKoGyaxvxLp9kKujT-aBta_4cK7X3qL8FXrMJnRHvJjA/s16000/21.png?w=640&ssl=1

As soon as Mufasa enters his credentials, we would see that a downgraded version of the NTLMv2 hash has now been obtained

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYXRMbw3_RhhuyeaEop7C2QWHFgG9FglCMKzMNvZ7wXgVmUhRvyIF_l3rggpvvyfhrPWY8Vf4TqtNY4mtrBbxOvcj5ZgUDb6uh65pT3sLgE3G2SCWlFfebJh4qrRBFjsuihr43Ng58qHjpqFhyXY2m70iKBsPxHGbc92Ry1tcDNTPlbfYNtMwXRYG0A/s16000/22.png?w=640&ssl=1

This can be cracked using hashcat and you’d notice it took 3 seconds time as compared to 7 seconds in Attack 2 (half less than before)!

https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHIJWbU_HHivcuyR4a9Ty3Qy51dThLvqpbzbaKWgdWykp6wOdVDP6SAKYddLYJrQuJd59a8UK4qF1pNOpd86sm5mLDaqEnFLxLZKXdhpMhIZGRxT8wdng7rkwLRdUHrl6MtLoNfDZBWeb_jFVTuQw--kquP7THTLV_TaADzSx6ebeCvM9eA7OJPgvNvw/s16000/23.png?w=640&ssl=1 Responder external IP poisoningResponder can be used to send LLMNR poisoned requests to the victim that contains another IP than the one we are currently using. It creates stealth and allows us to conduct more sophisticated attacks. This can be done using “-e” option
responder -I eth0 -e 192.168.1.2
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxl09uRWgufZvXGFjV4F1MEhiIRMZstEW9MlUYP6Wd1qQGmrXgqcHnzvXUwIAOeSS5FcfdEbb15XhI5JM4DKPuy9Azjb-HgZpNHKPcgR8I73jutGNDWxCcRicW3O1yMy3mfh0_d7MMdUGMfzVWkudltvqounStnk9_ocCU8riWEpQJZQkljFhSrgLWKw/s16000/24.png?w=640&ssl=1 Responder multi-relay: shell on a systemRelaying is one of the most commonly used techniques used for credential access. A relay or forwarder receives valid authentication and then forwards that request to another server/system and tries to authenticate to that server/system by using the valid credentials so received. In Attack 1, we used an invalid SMB share to get hashes of the requesting system.

What if the requestor was Admin?

Sure, we can get his credentials and wait till hashcat cracks it or be smarter and use relay to forward this authentication on our desired host and gain shell on it directly!

To do that, lgandx has included a script called “MultiRelay.py” in /usr/share/Responder/tools folder. We need to install a few dependencies and build the supporting binaries that would run on the victim system and grant us a reverse shell.
apt-get install gcc-mingw-w64-x86-64
x86_64-w64-mingw32-gcc ./MultiRelay/bin/Runas.c -o ./MultiRelay/bin/Runas.exe -municode -lwtsapi32 -luserenv                                                                                                         
x86_64-w64-mingw32-gcc ./MultiRelay/bin/Syssvc.c -o ./MultiRelay/bin/Syssvc.exe -municode
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install pycryptodome
Once its done, we can run MultiRelay.py without any errors or warnings.
cd /usr/share/responder/tools
python3 MultiRelay.py
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiclVu9C20yW4shf3dcR6kX2OeHEPwrJKYA2MlLFh8Keuo809U7gvLRHx9gPUbh-kTOPsd0fTZKEQvYgEiSEFZI9UKX1ACjrAL3P-ayg2l1kOgzgH4E_m6skzGh7oKra4i8ITjcZvfk6S5iUe8yRu0iP0jniDfWYEeuaiFV3DzhyK4s15jmKe5X5MD5vg/s16000/25.png?w=640&ssl=1

Now, first criteria for this attack to work with SMB is that SMB signing has to be disabled. It is disabled by default so that checks our ease to exploit. It can be tested using the nmap script smb-security-mode
nmap -p445 --script=smb-security-mode 192.168.1.3
https://i0.wp.com/blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlrXdd01W44BylxgFDszgZzY7s_AadUOWiwWxzZpLDuw8GSrYXTI7J0FfX5RYyD6VGp_ip4IOdL0HKoZCtncpxgI0MeNxAuitzoVzrYe_9zJ7u1-3GQd3CedMw-gLpADeKorZ2smWWJ9dI9HFRq0bZavAY4ap1aiI76hbhk4F4JNWBPDexBHh0Nh206w/s16000/26.png?w=640&ssl=1

As you can see, SMB signing is disab[...]

___________________________
@hacking_Attack
@Hacking_Video