UNDERCODE SECURITY
226 subscribers
295 photos
1.03K files
1.73K links
πŸ¦‘WELCOME IN UNDERCODE TESTING FOR LEARN HACKING | PROGRAMMING | SECURITY & more..

THIS CHANNEL BY :

@UndercodeTesting
UndercodeTesting.com (official)

@iUndercode
iUndercode.com (iOs)

@Dailycve
DailyCve.com


@UndercodeNews
UndercodeNews.com
Download Telegram
πŸ¦‘ Lastest Helpfull tutorials pdfs (beginers & experts )
πŸ¦‘BIN APPLE MUSIC 6 MONTHS βœ…βœ…

πŸ“₯| BIN: 512319xxxxxxxxxxe
πŸ“₯| DATE: Generado
πŸ“₯| CVV: Generado
πŸ“₯| ADDRESS: calle 45
πŸ“₯| CITY: Mumbai
πŸ“₯| STATE: Maharastra
πŸ“₯| Phone number : 98xxxxxxxx
πŸ“₯| ZIP: 400086

πŸ“ͺ| IP INDIA
BIN CrunchyRollβœ…

πŸ’³: 5105662320xxxxxx
51056623331xxxxx

πŸ“ͺCVV/Fecha: RND (Random)

πŸ“ͺIP : USA

πŸ“ͺCP: 10080
πŸ¦‘BIN SPOTIFYβœ…

πŸ’³: 5524903601xxxxxx

πŸ“ͺFECHA: 11/22

πŸ“ͺIP: Canada

πŸ“ͺCodigo Postal: V5K0A8

πŸ“ͺVPN: VYPR VPN
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘403 Forbidden Error Variations :

Like many other HTTP status codes, there are a lot of different variations for how this error code presents itself.

Here are some common variations that you might come across:

1οΈβƒ£β€œForbidden – You don’t have permission to access / on this server”

2️⃣ β€œ403 – Forbidden: Access is denied”

3οΈβƒ£β€œ403 – Forbidden Error – You are not allowed to access this address”

4οΈβƒ£β€œ403 Forbidden – nginx” (host)

5οΈβƒ£β€œHTTP Error 403 – Forbidden – You do not have permission to access the document or program you requested”

6οΈβƒ£β€œ403 Forbidden – Access to this resource on the server is denied”

7οΈβƒ£β€œ403. That’s an error. Your client does not have permission to get URL / from this server”

8οΈβƒ£β€œYou are not authorized to view this page”

8οΈβƒ£β€œIt appears you don’t have permission to access this page.”
If you’re on an Nginx server, it will look like this below. Basically, if you see any mention of β€œforbidden” or β€œnot allowed to access”, you’re probably dealing with a 403 Forbidden error.

▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ Dns spy 2020 updated -Reverse engeneer :

Too much features :

1) Debug
.NET Framework, .NET Core and Unity game assemblies, no source code required

2) Set breakpoints and step into any assembly
Locals, watch, autos windows

3) Variables windows support saving variables (eg. decrypted byte arrays) to disk or view them in the hex editor (memory window)

4) Object IDs

5) Multiple processes can be debugged at the same time

6) Break on module load

7) Tracepoints and conditional breakpoints

8) Export/import breakpoints and tracepoints

9) Call stack, threads, modules, processes windows

10) Break on thrown exceptions (1st chance)

11) Variables windows support evaluating C# / Visual Basic expressions

12) Dynamic modules can be debugged (but not dynamic methods due to CLR limitations)

13) Output window logs various debugging events, and it shows timestamps by default :)

14) Assemblies that decrypt themselves at runtime can be debugged, dnSpy will use the in-memory image. You can also force dnSpy to always use in-memory images instead of disk files.

15) Public API, you can write an extension or use the C# Interactive window to control the debugger

πŸ„ΈπŸ„½πŸ…‚πŸ…ƒπŸ„°πŸ„»πŸ„»πŸ„ΈπŸ…‚πŸ„°πŸ…ƒπŸ„ΈπŸ„ΎπŸ„½ & πŸ…πŸ…„πŸ„½ :

1️⃣git clone --recursive https://github.com/0xd4d/dnSpy.git

2️⃣cd dnSpy
# or dotnet build

3️⃣./build.ps1 -NoMsbuild

βœ… git sources
@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘#Popular Testing Methodes & tools 2020 for apps-servers :


#Javascript Tools

* [Retire.js](https://retirejs.github.io/retire.js)

#Popular Commercial Tools

* [Qualys Web Scanning](https://www.qualys.com/apps/web-app-scanning/)
* [IBM Security AppScan](https://www.ibm.com/security/application-security/appscan)

#XSS - Cross-Site Scripting

- [Cross-Site Scripting Γ’β‚¬β€œ Application Security Γ’β‚¬β€œ Google](https://www.google.com/intl/sw/about/appsecurity/learning/xss/) - Introduction to XSS by [Google](https://www.google.com/).

- [H5SC](https://github.com/cure53/H5SC) - HTML5 Security Cheatsheet - Collection of HTML5 related XSS attack vectors by [@cure53](https://github.com/cure53).

- [XSS.png](https://github.com/jackmasa/XSS.png) - XSS mind map by [@jackmasa](https://github.com/jackmasa).

- [EXCESS-XSS Guide](https://excess-xss.com/) - Comprehensive tutorial on cross-site scripting by [@JakobKallin](https://github.com/JakobKallin) and [Irene Lobo Valbuena](https://www.linkedin.com/in/irenelobovalbuena/).

βœ… git sources
@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘#SQL Injection for beginers best 2020 resources :

- [SQL Injection Cheat Sheet](https://www.netsparker.com/blog/web-security/sql-injection-cheat-sheet/) - Written by [@netsparker](https://twitter.com/netsparker).

- [SQL Injection Wiki](https://sqlwiki.netspi.com/) - Written by [NETSPI](https://www.netspi.com/).

- [SQL Injection Pocket Reference](https://websec.ca/kb/sql_injection) -

@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘#ORM Injection best 2020 Learning free practical resources :

- [HQL for pentesters](http://blog.h3xstream.com/2014/02/hql-for-pentesters.html) -

- [HQL : Hyperinsane Query Language (or how to access the whole SQL API within a HQL injection ?)](https://www.synacktiv.com/ressources/hql2sql_sstic_2015_en.pdf) - Written by [@_m0bius](https://twitter.com/_m0bius).

- [ORM2Pwn: Exploiting injections in Hibernate ORM](https://www.slideshare.net/0ang3el/orm2pwn-exploiting-injections-in-hibernate-orm)

- [ORM Injection](https://www.slideshare.net/simone.onofri/orm-injection)


@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘WHAT IS ORM INJECTIONS & How & Why to USE ?

1️⃣ Object Relational Mapping (ORM) Injection is an attack using SQL Injection against an ORM generated data access object model. ... ORM generated objects can use SQL or in some cases, a variant of SQL, to perform CRUD (Create, Read, Update, Delete) operations on a database

2️⃣ How to Test ?

> ORM layers can be prone to vulnerabilities, as they extend the surface of attack. Instead of directly targeting the application with SQL queries, you’d be focusing on abusing the ORM layer to send malicious SQL queries.

3️⃣ Identify the ORM Layer :

> To effeciently test and understand what’s happening between your requests and the backend queries, and as with everything related to conducting proper testing, it is essential to identify the technology being used. By following the information gathering chapter, you should be aware of the technology being used by the application at hand. Check this list mapping languages to their respective ORMs.

4️⃣ Abusing the ORM Layer

After identifying the possible ORM being used, it becomes essential to understand how its parser is functioning, and study methods to abuse it, or even maybe if the application is using an old version, identify CVEs pertaining to the library being used. Sometimes, ORM layers are not properly implemented, and thus allow for the tester to conduct normal SQL Injection, without worrying about the ORM layer.

5️⃣Weak ORM Implementation :

1) A vulnerable scenario where the ORM layer was not implemented properly, taken from SANS:

> List results = session.createQuery("from Orders as orders where orders.id = " + currentOrder.getId()).list();
List results = session.createSQLQuery("Select * from Books where author = " + book.getAuthor()).list();
The above didn’t implement the positional parameter, which allows the developer to replace the input with a ?. An example would be as such:

2) Query hqlQuery = session.createQuery("from Orders as orders where orders.id = ?");
List results = hqlQuery.setString(0, "123-ADB-567-QTWYTFDL").list(); // 0 is the first position, where it is dynamically replaced by the string set
This implementation leaves the validation and sanitization to be done by the ORM layer, and the only way to bypass it would be by identifying an issue with the ORM layer.

Powered by wiki
@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘Vulnerable ORM Layer

 "ORM layers are code, third-party libraries most of the time. They can be vulnerable just like any other piece of code. One example could be the sequelize ORM npm library which was found to be vulnerable in 2019. In another research done by RIPS Tech, bypasses were identified in the hibernate ORM used by Java.> 
wiki
 

πŸ¦‘A cheat sheet that could allow the tester to identify issues could be outlined as follows:


1️⃣MySQL abc\' INTO OUTFILE --

2️⃣PostgreSQL $$='$$=chr(61)||chr(0x27) and 1=pg_sleep(2)||version()'

3️⃣Oracle NVL(TO_CHAR(DBMS_XMLGEN.getxml('select 1 where 1337>1')),'1')!='1'

4️⃣MS SQL 1<LEN(%C2%A0(select%C2%A0top%C2%A01%C2%A0name%C2%A0from%C2%A0users)

@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁