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: security in practice
Pool on the roof - September 26, 2022

Have a no0b question? New to hacking? Looking for a script? Need help with your github project? Something wrong with your payload? Stuck on a CTF or bug bounty?

This is a weekly recurring post to make friends with other hackers, ask questions, and get any type of help you may need.

Make sure to read our wiki as it's full of resources for you.

Keep all beginner questions in this weekly stickied post.

submitted by /u/AutoModerator
[link] [comments]
Sent by @TheFeedReaderBot
hacking: security in practice
Which cyber security certificates should you get?

Hey guys, I am really into offensive pentesting but dont have any sort of certificates yet(other then the tryhackme path accomplishment certificates, which I am not too sure if they hold up, because no exam is required). Which certificates are the best to get? Which ones are the most value for the money? Thank you for your answers

submitted by /u/MathematicianDeep214
[link] [comments]
Sent by @TheFeedReaderBot
SharpNamedPipePTH - Pass The Hash To A Named Pipe For Token Impersonation
http://www.kitploit.com/2022/09/sharpnamedpipepth-pass-hash-to-named.html
This project is a C# tool to use Pass-the-Hash for authentication (https://www.kitploit.com/search/label/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 (https://github.com/checkymander/Sharp-SMBExec/).I faced certain Offensive Security project situations in the past, where I already had the NTLM-Hash of a low privileged user 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-accountIt must to able to also Impersonate low privileged accounts - depending on engagement goals it might be needed to access (https://www.kitploit.com/search/label/Access) a system with a specific user such as the CEO, HR-accounts, SAP-administrators or othersThe tool can be used as C2-moduleThe impersonated user unfortunately has no network authentication allowed, as the new process is using an Impersonation (https://www.kitploit.com/search/label/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 (https://www.kitploit.com/search/label/Binary) (with or without arguments):SharpNamedPipePTH.exe username:testing hash:7C53CFA5EA7D0F9B3B968AA0FB51A3F5 binary:C:\windows\system32\cmd.exe
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.
HTML Injection inside Email body- The First BUG I hunted down in a Bug Bounty Platform!

Hola Amigo!!Continue reading on InfoSec Write-ups »
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!
SharpNamedPipePTH - Pass The Hash To A Named Pipe For Token Impersonation

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbzCWCW6JkOYVPcJO_GoXNkXwl3QhLE_XeW7D8XZ2iD1yuLMS8tCMzu4N3DYnlW4wLV-qeYiFhcP44L1lUKABgQhFUXjLwg6KayG4fqzAIpqbWT49Y-lSmmWKFyFFZyxyL-MZLdA9lDmWz0hzV2EVtvqbSAze0EmbzrdFnzo8YCPOeFm1ZpzHPwNXbkA/w624-h640/SharpNamedPipePTH_1_Example1.jpeg This project 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.exehttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbzCWCW6JkOYVPcJO_GoXNkXwl3QhLE_XeW7D8XZ2iD1yuLMS8tCMzu4N3DYnlW4wLV-qeYiFhcP44L1lUKABgQhFUXjLwg6KayG4fqzAIpqbWT49Y-lSmmWKFyFFZyxyL-MZLdA9lDmWz0hzV2EVtvqbSAze0EmbzrdFnzo8YCPOeFm1ZpzHPwNXbkA/w624-h640/SharpNamedPipePTH_1_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/AVvXsEgm-qmKGfndynvXfacp9nwaE5DJ2AbmZOYHdpGsj4BqgQtTVFLsvTj8AzguAFj3SMqGny4S-rh0vLyaN3HVlLIa6SOZOX9kZT0aCC2eKqbNA1r0TeWe_r2pH4ai-RMv5Y0NcFue9qtg-RYa-wtmfmUyq_yuUg2kkBKntYmCT3eZFKlIsUfQAYlc3xVi_Q/w620-h640/SharpNamedPipePTH_2_Example2.jpeg Download SharpNamedPipePTH

___________________________
@hacking_Attack
@Hacking_Video
JSON web tokens

For decades cookies have been used to authenticate a user and hold session data. But a simple session cookie has certain limitations and…Continue reading on InfoSec Write-ups »
Read more...
Nmap in pocket : A complete guide

Welcome Hackers,Continue reading on Medium »
Read more...
Tryhackme 0day Makine Çözümü

Açıklama: Selam arkadaşlar, Tryhackme platformunda bulunan ‘0day’ isimli makinenin çözümünü sizinle paylaşıyor olacağım. Bu makinede…Continue reading on Medium »
Read more...
Monitoring your targets for bug bounties

An intro to setting up a monitoring system for your bug bounty targetContinue reading on InfoSec Write-ups »
Read more...
JSON web tokens

For decades cookies have been used to authenticate a user and hold session data. But a simple session cookie has certain limitations and…Continue reading on InfoSec Write-ups »
Read more...