Hacking Articles Tips Tricks Videos Tutorials
Kali Linux Tutorials Njsscan : A Semantic Aware SAST Tool That Can Find Insecure Code Patterns In Node.js Applications Njsscan is a static application testing (SAST) tool that can find insecure code patterns in your node.js applications using simple pattern…
oper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’)”,
‘description’: ‘Untrusted input concatinated with raw SQL query can result in SQL Injection.’,
‘severity’: ‘ERROR’
}
}
},
‘errors’: []
} Configure njsscanA
nodejs-extensions:
.js
template-extensions:
.new
.hbs
”
ignore-filenames:
skip.js
ignore-paths:
__MACOSX
skip_dir
node_modules
ignore-extensions:
.jsx
ignore-rules:
regex_injection_dos
pug_jade_template
severity-filter:
WARNING
ERROR Suppress FindingsYou can suppress findings from javascript source files by adding the comment
Example:
app.get(‘/some/redirect’, function (req, res) {
var target = req.param(“target”);
res.redirect(target); // njsscan-ignore: express_open_redirect
}); CI/CD IntegrationsYou can enable njsscan in your CI/CD or DevSecOps pipelines. Github ActionAdd the following to the file
name: njsscan
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
njsscan:
runs-on: ubuntu-latest
name: njsscan check
steps:
– name: Checkout the code
uses: actions/checkout@v2
– name: nodejsscan scan
id: njsscan
uses: ajinabraham/njsscan-action@master
with:
args: ‘.’ Github Code Scanning IntegrationAdd the following to the file
name: njsscan sarif
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
njsscan:
runs-on: ubuntu-latest
name: njsscan code scanning
steps:
– name: Checkout the code
uses: actions/checkout@v2
– name: nodejsscan scan
id: njsscan
uses: ajinabraham/njsscan-action@master
with:
args: ‘. –sarif –output results.sarif || true’
– name: Upload njsscan report
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif Gitlab CI/CDAdd the following to the file
stages:
– test
njsscan:
image: python
before_script:
– pip3 install –upgrade njsscan
script:
– njsscan .
Example: dvna with njsscan gitlab Travis CIAdd the following to the file
language: python
install:
– pip3 install –upgrade njsscan
script:
– njsscan . Circle CIAdd the following to the file
jobs:
njsscan:
docker:
– image: cimg/python:3.9.6
steps:
– checkout
– run:
name: Install njsscan
command: pip install –upgrade njsscan
– run:
name: njsscan check
command: njsscan . DockerPrebuilt image from DockerHubdocker pull opensecurity/njsscan
docker run -v /path-to-source-dir:/src opensecurity/njsscan /src Build Locallydocker build -t njsscan .
docker run -v /path-to-source-dir:/src njsscan /src Download
___________________________
@hacking_Attack
@Hacking_Video
‘description’: ‘Untrusted input concatinated with raw SQL query can result in SQL Injection.’,
‘severity’: ‘ERROR’
}
}
},
‘errors’: []
} Configure njsscanA
.njsscanfile in the root of the source code directory allows you to configure njsscan. You can also use a custom .njsscanfile using --configargument.nodejs-extensions:
.js
template-extensions:
.new
.hbs
”
ignore-filenames:
skip.js
ignore-paths:
__MACOSX
skip_dir
node_modules
ignore-extensions:
.jsx
ignore-rules:
regex_injection_dos
pug_jade_template
severity-filter:
WARNING
ERROR Suppress FindingsYou can suppress findings from javascript source files by adding the comment
// njsscan-ignore: rule_id1, rule_id2to the line that trigger the findings.Example:
app.get(‘/some/redirect’, function (req, res) {
var target = req.param(“target”);
res.redirect(target); // njsscan-ignore: express_open_redirect
}); CI/CD IntegrationsYou can enable njsscan in your CI/CD or DevSecOps pipelines. Github ActionAdd the following to the file
.github/workflows/njsscan.yml.name: njsscan
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
njsscan:
runs-on: ubuntu-latest
name: njsscan check
steps:
– name: Checkout the code
uses: actions/checkout@v2
– name: nodejsscan scan
id: njsscan
uses: ajinabraham/njsscan-action@master
with:
args: ‘.’ Github Code Scanning IntegrationAdd the following to the file
.github/workflows/njsscan_sarif.yml.name: njsscan sarif
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
njsscan:
runs-on: ubuntu-latest
name: njsscan code scanning
steps:
– name: Checkout the code
uses: actions/checkout@v2
– name: nodejsscan scan
id: njsscan
uses: ajinabraham/njsscan-action@master
with:
args: ‘. –sarif –output results.sarif || true’
– name: Upload njsscan report
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif Gitlab CI/CDAdd the following to the file
.gitlab-ci.yml.stages:
– test
njsscan:
image: python
before_script:
– pip3 install –upgrade njsscan
script:
– njsscan .
Example: dvna with njsscan gitlab Travis CIAdd the following to the file
.travis.yml.language: python
install:
– pip3 install –upgrade njsscan
script:
– njsscan . Circle CIAdd the following to the file
.circleci/config.yamlversion: 2.1jobs:
njsscan:
docker:
– image: cimg/python:3.9.6
steps:
– checkout
– run:
name: Install njsscan
command: pip install –upgrade njsscan
– run:
name: njsscan check
command: njsscan . DockerPrebuilt image from DockerHubdocker pull opensecurity/njsscan
docker run -v /path-to-source-dir:/src opensecurity/njsscan /src Build Locallydocker build -t njsscan .
docker run -v /path-to-source-dir:/src njsscan /src Download
___________________________
@hacking_Attack
@Hacking_Video
Hacking on Medium
Can your web domain be stolen? Domain Hijacking
https://cdn-images-1.medium.com/max/1600/1*RzbcC0E53PZxqPQq9hOZiA.png
Imagine you live in a big city. It’s a nice city, but it has a problem. The people who run public transit have discovered that it’s easier…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Can your web domain be stolen? Domain Hijacking
https://cdn-images-1.medium.com/max/1600/1*RzbcC0E53PZxqPQq9hOZiA.png
Imagine you live in a big city. It’s a nice city, but it has a problem. The people who run public transit have discovered that it’s easier…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
Can your web domain be stolen? Domain Hijacking and other threats
Imagine you live in a big city. It’s a nice city, but it has a problem. The people who run public transit have discovered that it’s easier…
Hacking on Medium
How To Hack Bluetooth In 2022 — ExploitByte
https://cdn-images-1.medium.com/max/1400/0*peGAO-KguBCcEPiD
How To Hack Bluetooth In 2022 — In This Blog we Will You About Bluethooth hacking ,What is Bluetooth Hacking And Many More
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
How To Hack Bluetooth In 2022 — ExploitByte
https://cdn-images-1.medium.com/max/1400/0*peGAO-KguBCcEPiD
How To Hack Bluetooth In 2022 — In This Blog we Will You About Bluethooth hacking ,What is Bluetooth Hacking And Many More
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
How To Hack Bluetooth In 2022 — ExploitByte
How To Hack Bluetooth In 2022 — In This Blog we Will You About Bluethooth hacking ,What is Bluetooth Hacking And Many More
hacking: security in practice
How to find info from breaches
Hey wonderful peeps, anyone know a good place to find leaked info from past data breaches? Im looking into the Zynga breach and trying to find that info. Comment or dm me if youve got any tips!
submitted by /u/floatingcoffeepoop
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
How to find info from breaches
Hey wonderful peeps, anyone know a good place to find leaked info from past data breaches? Im looking into the Zynga breach and trying to find that info. Comment or dm me if youve got any tips!
submitted by /u/floatingcoffeepoop
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
How to find info from breaches
Hey wonderful peeps, anyone know a good place to find leaked info from past data breaches? Im looking into the Zynga breach and trying to find...
hacking: security in practice
In theory, how could I spread malware across a local network?
Hey guys! I'm working on a project currently, it's a backdoor/RAT. I was wondering how I could possibly spread the malware across the local network of the victim. I have an entire separate network I set up with 2 virtual computers on it to emulate spreading.
I was thinking if the computers were vulnerable to some sort of exploit, like EternalBlue for Win 7, The idea would be to make the victim host a VPN that I could connect to, and access their local network. Is that possible? Or is there more to it? I've been trying to do research but can't find anything!
This is not going to be used in any malicious way, but I want to finish this project and open source it on github.
Thanks, a fellow cybersecurity enthusiast!
submitted by /u/ThatsFluke
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
In theory, how could I spread malware across a local network?
Hey guys! I'm working on a project currently, it's a backdoor/RAT. I was wondering how I could possibly spread the malware across the local network of the victim. I have an entire separate network I set up with 2 virtual computers on it to emulate spreading.
I was thinking if the computers were vulnerable to some sort of exploit, like EternalBlue for Win 7, The idea would be to make the victim host a VPN that I could connect to, and access their local network. Is that possible? Or is there more to it? I've been trying to do research but can't find anything!
This is not going to be used in any malicious way, but I want to finish this project and open source it on github.
Thanks, a fellow cybersecurity enthusiast!
submitted by /u/ThatsFluke
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
In theory, how could I spread malware across a local network?
Hey guys! I'm working on a project currently, it's a backdoor/RAT. I was wondering how I could possibly spread the malware across the local...
Hacking Articles Tips Tricks Videos Tutorials
Photo
hacking: security in practice
FCC adds Kaspersky to its list of national security threats
https://external-preview.redd.it/oNmgk0Rv2r_IIjaQY1L9C7a6yHOLmM1QKeHB0zmSeL4.jpg?width=640&crop=smart&auto=webp&s=801f94fa2c7fe8644e11616e7c042ab808ff0ae3 submitted by /u/Atari_Portfolio
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
FCC adds Kaspersky to its list of national security threats
https://external-preview.redd.it/oNmgk0Rv2r_IIjaQY1L9C7a6yHOLmM1QKeHB0zmSeL4.jpg?width=640&crop=smart&auto=webp&s=801f94fa2c7fe8644e11616e7c042ab808ff0ae3 submitted by /u/Atari_Portfolio
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
FCC adds Kaspersky to its list of national security threats
Posted in r/hacking by u/Atari_Portfolio • 1 point and 0 comments
Hacking Articles Tips Tricks Videos Tutorials
Photo
hacking: security in practice
'Preparation, not panic': Top US cyber official asks Americans to look out for Russian hacking efforts
https://external-preview.redd.it/H2AKXTzQdPHgOv_YB7U5zPhcToi5U_Ieqy6F7mrVBs8.jpg?width=640&crop=smart&auto=webp&s=5b34dc902850720bad992f1c247d754eda0d16c3 submitted by /u/DrinkMoreCodeMore
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
'Preparation, not panic': Top US cyber official asks Americans to look out for Russian hacking efforts
https://external-preview.redd.it/H2AKXTzQdPHgOv_YB7U5zPhcToi5U_Ieqy6F7mrVBs8.jpg?width=640&crop=smart&auto=webp&s=5b34dc902850720bad992f1c247d754eda0d16c3 submitted by /u/DrinkMoreCodeMore
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
'Preparation, not panic': Top US cyber official asks Americans to...
Posted in r/hacking by u/DrinkMoreCodeMore • 1 point and 1 comment
How I got my First Bounty (Open Redirect)
I was trying to find a good program to hunt on Hackerone. Then, I found a program. let's call it example.com. I was testing every link and…Continue reading on Medium »
Read more...
I was trying to find a good program to hunt on Hackerone. Then, I found a program. let's call it example.com. I was testing every link and…Continue reading on Medium »
Read more...
How I got my First Bounty (Open Redirect)
https://vamshi-vemula.medium.com/how-i-got-my-first-bounty-open-redirect-80832e5bf4e6?source=rss------bug_bounty-5
I was trying to find a good program to hunt on Hackerone. Then, I found a program. let's call it example.com. I was testing every link and…Continue reading on Medium » (https://vamshi-vemula.medium.com/how-i-got-my-first-bounty-open-redirect-80832e5bf4e6?source=rss------bug_bounty-5)
___________________________
@hacking_Attack
@Hacking_Video
https://vamshi-vemula.medium.com/how-i-got-my-first-bounty-open-redirect-80832e5bf4e6?source=rss------bug_bounty-5
I was trying to find a good program to hunt on Hackerone. Then, I found a program. let's call it example.com. I was testing every link and…Continue reading on Medium » (https://vamshi-vemula.medium.com/how-i-got-my-first-bounty-open-redirect-80832e5bf4e6?source=rss------bug_bounty-5)
___________________________
@hacking_Attack
@Hacking_Video
Medium
How I got my First Bounty (Open Redirect)
I was trying to find a good program to hunt on Hackerone. Then, I found a program. let's call it example.com. I was testing every link and…
TOP 10 Linux Utilities for Bugbounty/Hacking.
Hey there, I am Samrat Gupta aka Sm4rty, a Security Researcher and a Bug Bounty Hunter. In this Blog I will be sharing some of the common…Continue reading on Medium »
Read more...
Hey there, I am Samrat Gupta aka Sm4rty, a Security Researcher and a Bug Bounty Hunter. In this Blog I will be sharing some of the common…Continue reading on Medium »
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
hacking: security in practice
DipDucky - Rubber Ducky with multiple payloads
https://external-preview.redd.it/Kk3VafiYtpgkIkPjinCpX-qKcqQ29m7s8PI1O5LlnBo.jpg?width=640&crop=smart&auto=webp&s=741c3600ff717f4dd73f839975a6c6d6959b8dc7 submitted by /u/Tompazi
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
DipDucky - Rubber Ducky with multiple payloads
https://external-preview.redd.it/Kk3VafiYtpgkIkPjinCpX-qKcqQ29m7s8PI1O5LlnBo.jpg?width=640&crop=smart&auto=webp&s=741c3600ff717f4dd73f839975a6c6d6959b8dc7 submitted by /u/Tompazi
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
DipDucky - Rubber Ducky with multiple payloads
Posted in r/hacking by u/Tompazi • 2 points and 1 comment
hacking: security in practice
Hey!
Sorry if this is a stupid questions, but is it possible to find a hacker and pay him to enter someones social media account? Not to do any harm just find out some truths.
All the best
submitted by /u/JoseCastoll
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
Hey!
Sorry if this is a stupid questions, but is it possible to find a hacker and pay him to enter someones social media account? Not to do any harm just find out some truths.
All the best
submitted by /u/JoseCastoll
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
Hey!
Sorry if this is a stupid questions, but is it possible to find a hacker and pay him to enter someones social media account? Not to do any harm...
TOP 10 Linux Utilities for Bugbounty/Hacking.
https://sm4rty.medium.com/top-10-linux-utilities-for-bugbounty-hacking-dbef7ae28a28?source=rss------bug_bounty-5
___________________________
@hacking_Attack
@Hacking_Video
https://sm4rty.medium.com/top-10-linux-utilities-for-bugbounty-hacking-dbef7ae28a28?source=rss------bug_bounty-5
___________________________
@hacking_Attack
@Hacking_Video
Medium
TOP 10 Linux Utilities for Bugbounty/Hacking.
Hey there, I am Samrat Gupta aka Sm4rty, a Security Researcher and a Bug Bounty Hunter. In this Blog I will be sharing some of the common…
Hey there, I am Samrat Gupta aka Sm4rty, a Security Researcher and a Bug Bounty Hunter. In this Blog I will be sharing some of the common…Continue reading on Medium » (https://sm4rty.medium.com/top-10-linux-utilities-for-bugbounty-hacking-dbef7ae28a28?source=rss------bug_bounty-5)
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
Medium
TOP 10 Linux Utilities for Bugbounty/Hacking.
Hey there, I am Samrat Gupta aka Sm4rty, a Security Researcher and a Bug Bounty Hunter. In this Blog I will be sharing some of the common…
Nimcrypt2 - .NET, PE, And Raw Shellcode Packer/Loader Written In Nim
http://www.kitploit.com/2022/03/nimcrypt2-net-pe-and-raw-shellcode.html
___________________________
@hacking_Attack
@Hacking_Video
http://www.kitploit.com/2022/03/nimcrypt2-net-pe-and-raw-shellcode.html
___________________________
@hacking_Attack
@Hacking_Video
KitPloit - PenTest & Hacking Tools
Nimcrypt2 - .NET, PE, And Raw Shellcode Packer/Loader Written In Nim
Nimcrypt2 is yet another PE packer/loader designed to bypass AV/EDR. It is an improvement on my original Nimcrypt (https://github.com/icyguider/nimcrypt) project, with the main improvements being the use of direct syscalls (https://www.kitploit.com/search/label/Syscalls) and the ability to load regular PE files as well as raw shellcode. Before going any further, I must acknowledge those who did the VAST majority of work and research (https://www.kitploit.com/search/label/Research) that this project depends on. Firstly, I must thank @byt3bl33d3r (https://twitter.com/byt3bl33d3r) for his Offensive Nim repo (https://github.com/byt3bl33d3r/OffensiveNim), and @ShitSecure (https://twitter.com/ShitSecure) for all of the code snippets he's publicly released. That is what the original version of this tool was created from, and the current version is no different. Particularly, the new PE loading functionality used in this tool is just an implementation of ShitSecure's recently released Nim-RunPE (https://github.com/S3cur3Th1sSh1t/Nim-RunPE) code. I highly encourage sponsoring him for access to his own Nim PE Packer (https://twitter.com/ShitSecure/status/1482428360500383755), which is no doubt a much better and more featureful version of this.
Additionally, I would like to thank @ajpc500 (https://twitter.com/ajpc500) for his NimlineWhispers2 (https://github.com/ajpc500/NimlineWhispers2) project that this tool uses for direct syscalls. I cannot stress enough how this project is simply an amalgamation of the public work of those previously mentioned, so all credit must go to them. ] [-p ] [-n] [-u] [-s] [-v] nimcrypt (-h | --help) Options: -h --help Show this screen. --version Show version. -f --file filename File to load -t --type filetype Type of file (csharp, raw, or pe) -p --process process Name of process for shellcode injection -o --output filename Filename for compiled exe -u --unhook Unhook ntdll.dll -v --verbose Enable verbose messages during execution -n --no-randomization Disable syscall name randomization -s --no-sandbox Disable sandbox checks"> ___
.-' `'.
/ \
| ;
| | ___.--,
_.._ |0) ~ (0) | _.---'`__.-( (_.
__.--'`_.. '.__.\ '--. \_.-' ,.--'` `""`
( ,.--'` ',__ /./; ;, '.__.'` __
_`) ) .---.__.' / | |\ \__..--"" ""'--.,_
`---' .'.''-._.-'`_./ /\ '. \ _.-~~~````~~~-._`-.__.'
| | .' _.-' | | \ \ '. `~---`
\ \/ .' \ \ '. '-._)
\/ / \ \ `=.__`~-. Nimcrypt v2
jgs / /\ `) ) / / `"".`\
, _.-'.'\ \ / / ( ( / / 3-in-1 C#, PE, & Raw Shellcode Loader
`--~` ) ) .-'.' '.'. | (
(/` ( (` ) ) '-;
` '-; (-'
Nimcrypt v 2.0
Usage:
nimcrypt -f file_to_load -t csharp/raw/pe [-o ] [-p ] [-n] [-u] [-s] [-v]
nimcrypt (-h | --help)
Options:
-h --help Show this screen.
--version Show version.
-f --file filename File to load
-t --type filetype Type of file (csharp, raw, or pe)
-p --process process Name of process for shellcode injection
-o --output filename Filename for compiled exe
-u --unhook Unhook ntdll.dll
___________________________
@hacking_Attack
@Hacking_Video
Additionally, I would like to thank @ajpc500 (https://twitter.com/ajpc500) for his NimlineWhispers2 (https://github.com/ajpc500/NimlineWhispers2) project that this tool uses for direct syscalls. I cannot stress enough how this project is simply an amalgamation of the public work of those previously mentioned, so all credit must go to them. ] [-p ] [-n] [-u] [-s] [-v] nimcrypt (-h | --help) Options: -h --help Show this screen. --version Show version. -f --file filename File to load -t --type filetype Type of file (csharp, raw, or pe) -p --process process Name of process for shellcode injection -o --output filename Filename for compiled exe -u --unhook Unhook ntdll.dll -v --verbose Enable verbose messages during execution -n --no-randomization Disable syscall name randomization -s --no-sandbox Disable sandbox checks"> ___
.-' `'.
/ \
| ;
| | ___.--,
_.._ |0) ~ (0) | _.---'`__.-( (_.
__.--'`_.. '.__.\ '--. \_.-' ,.--'` `""`
( ,.--'` ',__ /./; ;, '.__.'` __
_`) ) .---.__.' / | |\ \__..--"" ""'--.,_
`---' .'.''-._.-'`_./ /\ '. \ _.-~~~````~~~-._`-.__.'
| | .' _.-' | | \ \ '. `~---`
\ \/ .' \ \ '. '-._)
\/ / \ \ `=.__`~-. Nimcrypt v2
jgs / /\ `) ) / / `"".`\
, _.-'.'\ \ / / ( ( / / 3-in-1 C#, PE, & Raw Shellcode Loader
`--~` ) ) .-'.' '.'. | (
(/` ( (` ) ) '-;
` '-; (-'
Nimcrypt v 2.0
Usage:
nimcrypt -f file_to_load -t csharp/raw/pe [-o ] [-p ] [-n] [-u] [-s] [-v]
nimcrypt (-h | --help)
Options:
-h --help Show this screen.
--version Show version.
-f --file filename File to load
-t --type filetype Type of file (csharp, raw, or pe)
-p --process process Name of process for shellcode injection
-o --output filename Filename for compiled exe
-u --unhook Unhook ntdll.dll
___________________________
@hacking_Attack
@Hacking_Video
GitHub
GitHub - icyguider/nimcrypt: PE Crypter written in Nim
PE Crypter written in Nim. Contribute to icyguider/nimcrypt development by creating an account on GitHub.