UNDERCODE TESTING
312 subscribers
311 photos
24 videos
173 files
29.8K links
๐Ÿฆ‘ World first platform which Collect & Analyzes every New hacking method.

+ Free AI Practice.

(New Bug Bounty Methods, Tools Updates, AI & Courses).

โœจ Services: Undercode.help/services

โœจyoutube.com/undercode

@Undercode_Testing
Download Telegram
Forwarded from Exploiting Crew (Pr1vAt3)
Forwarded from Exploiting Crew (Pr1vAt3)
๐Ÿฆ‘Encryption vs Hashing - What's the difference?

Imagine you have a secret recipe for a cake, and you want to share it with a friend.

๐ŸคตEncryption:

You lock the recipe in a box with a key and give the box to your friend.

Your friend can unlock the box (with the key you gave them) and read the recipe.

If someone else finds the box without the key, they can't read it.
Key Point: It can be reversed if you have the key (decrypt it).

๐Ÿง›Hashing:

You put the recipe in a blender and blend it into a unique smoothie.

Now itโ€™s impossible to get the original recipe back from the smoothie.

But if someone else blends the exact same recipe, theyโ€™ll get the exact same smoothie.

Key Point: One-way process. You canโ€™t go back to the recipe, but you can check if two smoothies match.

In short:

Encryption is like locking something upโ€”can be unlocked.

Hashing is like turning it into mushโ€”you canโ€™t un-mush it!

As both methods involve turning data into a scrambled form, one might consider these two the same. However, there is a distinction you must know about:

Data is encrypted twice while itโ€™s only hashed once.

One can encrypt/decrypt a piece of data, meaning that the original text can be retrieved back. However, retrieval of plain text isnโ€™t possible if data is hashed once.

Ref: Santosh Nandakumar
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
๐Ÿฆ‘Cloud Pentesting Cheatsheet๐Ÿ›ก

Cloud penetration testing is a crucial skill to identify vulnerabilities in cloud environments like AWS, Azure, and Google Cloud Platform (GCP). This cheatsheet simplifies complex concepts and helps you take your cloud security game to the next level!

๐Ÿ“˜Whatโ€™s Inside?
1๏ธโƒฃ Key Testing Steps:
โ€ข Reconnaissance: Identify misconfigured assets, open ports, and exposed services in the cloud.
โ€ข Enumeration: Gather details about cloud accounts, storage buckets, APIs, and permissions.
โ€ข Exploitation: Simulate attacks by exploiting misconfigurations, weak access controls, or privilege escalation opportunities.
โ€ข Post-Exploitation: Assess the impact by reviewing data leakage and persistence mechanisms.

2๏ธโƒฃ Cloud-specific Vulnerabilities:
โ€ข Misconfigured IAM roles and policies leading to unauthorized access.
โ€ข Publicly accessible storage buckets exposing sensitive data.
โ€ข Weak or absent encryption protocols for data in transit or at rest.
โ€ข Exploitable serverless functions (e.g., AWS Lambda) due to insecure coding practices.
โ€ข Over-permissive security groups allowing unrestricted traffic.

3๏ธโƒฃ Essential Tools for Cloud Pentesting:
โ€ข ScoutSuite: Multi-cloud security auditing.
โ€ข Pacu: AWS exploitation framework for testing security.
โ€ข Cloudsploit: Scan configurations for security issues.
โ€ข Burp Suite: Analyze APIs in cloud applications.
โ€ข Nmap: Detect open ports and vulnerable services in the cloud.
โ€ข AWS CLI and GCP CLI: Enumerate configurations directly from the command line.

4๏ธโƒฃ Best Practices:
โ€ข Use least privilege policies for all IAM roles and accounts.
โ€ข Enable logging and monitoring through services like AWS CloudTrail or Azure Monitor.
โ€ข Apply encryption standards (TLS, AES-256) to protect sensitive data.
โ€ข Regularly perform compliance checks using CIS Benchmarks and OWASP Cloud Top 10.

โœจ Key Areas to Focus On:

๐Ÿ”‘ Authentication and Authorization Flaws:
โ€ข Check for mismanaged credentials (e.g., leaked keys or weak passwords).
โ€ข Review SSO configurations for potential bypass scenarios.

๐Ÿ“‚ Storage Misconfigurations:
โ€ข Detect open storage buckets or public file access.
โ€ข Ensure data is encrypted and access is controlled through proper permissions.

๐Ÿ“ก Network Security Risks:
โ€ข Audit firewall rules and security groups to detect overly permissive settings.
โ€ข Identify exposed management ports (SSH, RDP, etc.).

๐Ÿ”„ Serverless Security Issues:
โ€ข Look for weak input validation and insecure API integrations in serverless applications.
โ€ข Check timeout and resource limits to mitigate DoS risks.

Ref: Santosh Nandakumar
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
๐Ÿฆ‘ 100 Free Security Tools โ€“ Protect Your Digital World for Free! ๐Ÿš€

Looking to enhance your cybersecurity skills or secure your systems without breaking the bank? Explore this comprehensive list of 100 FREE Security Tools that cover every aspect of cybersecurity, from penetration testing to network security and data protection! ๐ŸŒ

๐Ÿ”‘ Whatโ€™s Included?

โœ… Network Security Tools

Wireshark: Analyze network packets in real-time.

Nmap: Scan networks for vulnerabilities.


โœ… Web Security Tools

Burp Suite Community Edition: Test web application security.

ZAP (OWASP): Identify vulnerabilities in web applications.


โœ… Endpoint Protection

Malwarebytes Free: Detect and remove malware effectively.

ClamAV: Open-source antivirus for Linux systems.


โœ… Penetration Testing Tools

Metasploit Framework: Comprehensive pen-testing platform.

SQLmap: Automate SQL injection testing.


โœ… Password Security

KeePass: Securely manage your passwords.

Hashcat: Advanced password recovery tool.


โœ… Cloud Security Tools

ScoutSuite: Assess the security of your cloud infrastructure.

CloudSploit: Detect misconfigurations in cloud environments.


โœ… Forensic Tools

Autopsy: Analyze digital media for forensic purposes.

FTK Imager: Quickly collect and analyze forensic data.


... and 85 more tools to strengthen your cybersecurity skills!

Ref: In pdf
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
๐Ÿฆ‘๐Ÿ’ก๐Œ๐š๐ฅ๐ฐ๐š๐ซ๐ž ๐€๐ง๐š๐ฅ๐ฒ๐ฌ๐ข๐ฌ ๐“๐ข๐ฉ: ๐’๐ฉ๐จ๐ญ๐ญ๐ข๐ง๐  ๐€๐ง๐ญ๐ข-๐ƒ๐ข๐ฌ๐š๐ฌ๐ฌ๐ž๐ฆ๐›๐ฅ๐ฒ ๐“๐ซ๐ข๐œ๐ค๐ฌ ๐Ÿ’ก

While analyzing malware, a common anti-disassembly technique to watch for is the use of a ๐œ๐จ๐ง๐๐ข๐ญ๐ข๐จ๐ง๐š๐ฅ ๐ฃ๐ฎ๐ฆ๐ฉ ๐ฐ๐ข๐ญ๐ก ๐š ๐œ๐จ๐ง๐ฌ๐ญ๐š๐ง๐ญ ๐œ๐จ๐ง๐๐ข๐ญ๐ข๐จ๐ง.

Take the snippet below as an example:

The code starts with ๐’™๐’๐’“ ๐’†๐’‚๐’™, ๐’†๐’‚๐’™, which clears the ๐‘ฌ๐‘จ๐‘ฟ register and, as a result, sets the zero flag (๐’๐‘ญ).

Immediately after, a conditional jump (๐’‹๐’›) checks the state of the zero flag.

Since ๐’™๐’๐’“ ๐’†๐’‚๐’™, ๐’†๐’‚๐’™ guarantees ZF will ๐’‚๐’๐’˜๐’‚๐’š๐’” be set, the jump is effectively unconditional. However, to automated tools or disassemblers, it may appear as conditional, complicating static analysis.

๐Ÿ” ๐‘พ๐’‰๐’š ๐’…๐’๐’†๐’” ๐’•๐’‰๐’Š๐’” ๐’Ž๐’‚๐’•๐’•๐’†๐’“?

Malware authors use this technique to:

โ— Obfuscate control flow.
โ— Confuse disassembly tools.
โ— Make reverse engineering more time-consuming.

Ref: AIT ICHOU Mustapha
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
๐Ÿฆ‘ The Complete Shodan Guide โ€“ A Treasure Trove for Cybersecurity Professionals! ๐Ÿ”๐Ÿ”

Thrilled to share The Complete Shodan Guide, an essential resource for anyone interested in exploring the depths of the internet using Shodan, the search engine for connected devices.

This guide is packed with:
โœ… Step-by-step instructions for using Shodan effectively.
โœ… Techniques to uncover exposed devices and vulnerabilities.
โœ… Practical use cases for penetration testing and threat analysis.

Ref: Dhikonda GopiDhikonda Gopi
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
๐Ÿฆ‘105 Windows Event IDs For SIEM Monitoring

1.Failed Login Attempts - Event ID: 4625
2.Account Lockouts - Event ID: 4740
3.Successful Login Outside Business Hours - Event ID: 4624
4.New User Creation - Event ID: 4720
5.Privileged Account Usage - Event ID: 4672
6.User Account Changes - Event IDs: 4722, 4723, 4724, 4725, 4726
7.Logon from Unusual Locations - Event ID: 4624 (with geolocation analysis)
8.Password Changes - Event ID: 4723 (change attempt), 4724 (successful reset)
9.Group Membership Changes - Event IDs: 4727, 4731, 4735, 4737
10.Suspicious Logon Patterns - Event ID: 4624 (anomalous logons)
11.Excessive Logon Failures - Event ID: 4625
12.Disabled Account Activity - Event ID: 4725
13.Dormant Account Usage - Event ID: 4624 (rarely used accounts)
14.Service Account Activity - Event IDs: 4624, 4672
15.RDP Access Monitoring - Event ID: 4624 (with RDP-specific filtering)
16.Lateral Movement Detection - Event ID: 4648 (network logons)
17.File and Folder Access - Event ID: 4663
18.Unauthorised File Sharing - Event IDs: 5140, 5145
19.Registry Changes - Event IDs: 4657
20.Application Installation and Removal - Event IDs: 11707, 1033
21.USB Device Usage - Event IDs: 20001, 20003 (from Device Management logs)
22.Windows Firewall Changes - Event IDs: 4946, 4947, 4950, 4951
23.Scheduled Task Creation - Event ID: 4698
24.Process Execution Monitoring - Event ID: 4688
25.System Restart or Shutdown - Event IDs: 6005, 6006, 1074
26.Event Log Clearing - Event ID: 1102
27.Malware Execution or Indicators - Event IDs: 4688, 1116 (from Windows Defender)
28.Active Directory Changes - Event IDs: 5136, 5141
29.Shadow Copy Deletion - Event ID: 524 (with VSSAdmin logs)
30.Network Configuration Changes - Event IDs: 4254, 4255, 10400
31.Execution of Suspicious Scripts - Event ID: 4688 (process creation with script interpreter)
32.Service Installation or Modification - Event ID: 4697
33.Clearing of Audit Logs - Event ID: 1102
34.Software Restriction Policy Violation - Event ID: 865
35.Excessive Account Enumeration - Event IDs: 4625, 4776
36.Attempt to Access Sensitive Files - Event ID: 4663
37.Unusual Process Injection - Event ID: 4688 (with EDR or Sysmon data)
38.Driver Installation - Event IDs: 7045 (Service Control Manager)
39.Modification of Scheduled Tasks - Event ID: 4699
40.Unauthorised GPO Changes - Event ID: 5136
41.Suspicious PowerShell Activity - Event ID: 4104 (from PowerShell logs)
42.Unusual Network Connections - Event ID: 5156 (network filtering platform)
43.Unauthorised Access to Shared Files - Event ID: 5145
44.DNS Query for Malicious Domains - Event ID: 5158 (DNS logs required)
45.LDAP Search Abuse - Event ID: 4662
46.Process Termination Monitoring - Event ID: 4689
47.Failed Attempts to Start a Service - Event ID: 7041
48.Audit Policy Changes - Event IDs: 4719, 1102
49.Time Change Monitoring - Event IDs: 4616, 520
50.BitLocker Encryption Key Changes - Event ID: 5379

Ref: Izzmier Izzuddin ZulkepliIzzmier Izzuddin Zulkepli
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
Forwarded from Exploiting Crew (Pr1vAt3)
Forwarded from Exploiting Crew (Pr1vAt3)
๐Ÿฆ‘๐Ÿคบ Threat modeling GenAI Workloads: Don't Skip This โšก๏ธ

Threat modeling is one of the oldest aspects of cybersecurity, as early as 1977 some form of threat models were leveraged to understand the risks against systems.

๐Ÿค” However, threat modeling is not commonly practiced because it is manual and time-intensive. But is it worth the time, effort & resources? Hell YES. The value of threat modeling continually increases as our systems become more complex.

Yes, your GenAI workloads aren't exempted ! ๐Ÿ™Œ

๐ŸŽŠ GOOD NEWS -> There are abundant resources that help streamline threat modeling by automating several steps.

The Threat Composer tool from Amazon Web Services (AWS) is one of such tools.

๐ŸŒฉ A recent AWS blog post, provides a recommended approach for threat modeling GenAI workloads using Threat Composer. Adam Shostack's four question framework is used as a guide.

๐Ÿ‘‰ Check out the blog post here - https://lnkd.in/g6i4zSpN

Here is a quick summary:

1๏ธโƒฃ What are we working on?
Aims to get a detailed understanding of your business context & application architecture. Example outcomes are Data Flow Diagrams, assumptions, and key design decisions.

2๏ธโƒฃ What can go wrong?
Identify possible threats to your application using the context & information gathered from the previous question. Leverage info sources e.g. OWASP Top 10 For Large Language Model Applications & Generative AI, MITRE ATLAS

3๏ธโƒฃ What are we going to do about it?
Consider which controls would be appropriate to mitigate the risks associated with the threats identified in the previous question. Some info sources (per previous question) have sections for mitigations which could be super useful.

4๏ธโƒฃ Did we do a good enough job?
Contrary to popular opinions, threat modeling exercises do not end after the actual activity ! Its important to verify the effectiveness of the implemented mitigations to determine if the identified risks have been addressed. Use penetration testing, adversary emulation etc to proactively evaluate the effectiveness of implemented mitigations.

Ref: Kennedy T
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
html injection.pdf
381.2 KB
๐Ÿฆ‘Understanding HTML Injection ๐Ÿ’‰

HTML injection is a type of attack where malicious HTML code is inserted into a website. This can lead to a variety of issues, from minor website defacement to serious data breaches. Unlike other web vulnerabilities, HTML injection targets the markup language that forms the backbone of most websites.
This attack differs from other web vulnerabilities that exploit server or database weaknesses because it focuses on manipulating the structure and content of a webpage

Ref: Mehedi Hasan Babu
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
Forwarded from Exploiting Crew (Pr1vAt3)
Forwarded from Exploiting Crew (Pr1vAt3)
๐Ÿฆ‘IAM vs. PAM: Understanding the Key Differences ๐Ÿ”’

In todayโ€™s rapidly evolving cybersecurity landscape, managing access and securing sensitive data is more critical than ever. Two foundational tools in this effort are Identity and Access Management (IAM) and Privileged Access Management (PAM). While both are essential, they serve distinct purposes:

๐Ÿ”‘ Identity and Access Management (IAM)

๐Ÿ”ป Focus: Managing identities and access rights for all users.
๐Ÿ”ป Scope: Broader, covering employees, contractors, partners, and even devices.
๐Ÿ”ป Key Functions: Authentication, Single Sign-On (SSO), user provisioning/de-provisioning, governance, and compliance reporting.
๐Ÿ”ป Goal: Streamlining access across the IT ecosystem while improving operational efficiency and ensuring compliance.

๐Ÿ”’ Privileged Access Management (PAM)

๐Ÿ”ป Focus: Securing and controlling access to privileged accounts with elevated permissions.
๐Ÿ”ป Scope: Narrower, targeting administrators, IT staff, service accounts, and third-party vendors.
๐Ÿ”ป Key Functions: Credential vaulting, session monitoring, least privilege enforcement, and just-in-time access.
๐Ÿ”ป Goal: Protecting critical systems and sensitive data from breaches or abuse of high-risk accounts.

Implementing both IAM and PAM creates a layered security approach. IAM ensures proper access for all users, while PAM locks down high-risk areas, minimizing vulnerabilities and adhering to the Zero Trust framework.

๐Ÿ“Š This visual summary (attached) simplifies the key differences and highlights how these tools work together to strengthen cybersecurity.

Ref: Fadi Kazdar
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
Forwarded from Exploiting Crew (Pr1vAt3)
Forwarded from Exploiting Crew (Pr1vAt3)
๐Ÿฆ‘Understanding Modern Cybersecurity Tools: EDR, XDR, SOAR, SIEM, and Integrated Solutions ๐Ÿšจ

Navigating the world of cybersecurity solutions can be complex. Each tool serves a unique purpose, but understanding their differences is crucial for building an effective security strategy. Here's a quick comparison:

โœ… EDR (Endpoint Detection and Response): Focuses on endpoint security by detecting/responding to threats on devices like laptops and servers. Great for organizations with endpoint-centric threats.

โœ… XDR (Extended Detection and Response): Expands visibility across endpoints, networks, and cloud environments, providing unified threat detection across domains.

โœ… SOAR (Security Orchestration, Automation, and Response): Automates and streamlines incident response processes, saving time and improving efficiency.

โœ… SIEM (Security Information and Event Management): Offers centralized log management and real-time monitoring for identifying and correlating security events.

โœ… Integrated Solution (EDR + XDR + SOAR + SIEM): Combines the strengths of all these tools for holistic threat detection, response, and seamless integration.

Ref: Fadi Kazdar
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
Forwarded from Exploiting Crew (Pr1vAt3)
๐Ÿฆ‘๐ƒ๐Ž๐Œ ๐—๐’๐’ Testing Method

While "DOM Invader" is not a new feature of Burp, I feel that alot of people don't use it enough (or are not aware of it)

It works by submiting a random string generated by Burp (named "canary") in existing input fields or URL parameters

Then "DOM Invader" will check how your input is processed, providing you with necessary context and sanitization details.

1. Start Burp Browser
2. Turn on the DOM Invader
3. Copy and Paste the canary in the target input field or URL parameter
4. Check the DOM Invader tab for "Interesting sinks"
5. Craft the payload or use the "Exploit" option to automate

Ref: Andrei Agape
@UndercodeCommunity
โ– โ–‚ โ–„ U๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–