Skip to content

Instantly share code, notes, and snippets.

@githubfoam
githubfoam / risk management experience
Created January 23, 2025 12:23
risk management experience
--------------------------------------------------------------------------------------------------------------------
Copilot
Here's an overview of some well-known risk frameworks, methodologies, and tools within the cyber security field:
Risk Frameworks:
NIST Cybersecurity Framework (NIST CSF)
Comprehensive guidelines for managing and reducing cybersecurity risk
https://www.nist.gov/cyberframework
@githubfoam
githubfoam / netbox_experience
Last active February 18, 2025 12:36
netbox_experience
--------------------------------------------------------------------------------------------------------------------
Using LibreNMS and NetBox together is a powerful combination for network monitoring and IP address management. Here are some best practices:
Integrate Device Discovery:
Use LibreNMS for automatic device discovery and import discovered devices into NetBox for inventory and documentation.
Configure webhooks or scripts to sync discovered devices from LibreNMS to NetBox.
IPAM Integration:
Manage IP addresses and subnets in NetBox and ensure LibreNMS uses NetBox as the source of truth for device IP assignments.
Sync NetBox’s IP information with LibreNMS for accurate monitoring.
@githubfoam
githubfoam / ai online resources
Last active February 20, 2025 06:27
ai online resources
#===================================================================================================================================
Kaggle is a fantastic platform for data science competitions, datasets, and learning. Here are some other online websites similar to Kaggle, offering various resources for data scientists, machine learning engineers, and AI enthusiasts:
Competition Platforms:
DrivenData: Focuses on social good challenges, often with real-world impact.
Analytics Vidhya: Hosts data science competitions, hackathons, and learning resources, particularly strong in the Indian data science community.
AIcrowd: A platform for AI challenges and competitions, with a focus on reproducibility and open-source contributions.
CodaLab: A platform for hosting competitions and evaluating machine learning models, often used by academic researchers.
Topcoder: Offers a variety of challenges, including data science, design, and development.
@githubfoam
githubfoam / URLscan Dorking Techniques
Last active October 10, 2026 08:55
URLscan Dorking Techniques
#=====================================================================
Dorking is the practice of crafting advanced search queries to uncover publicly available but sensitive information. URLscan.io allows users to filter through indexed scans using Lucene-based query syntax
Examples:
page.domain:example.com → Searches all scans related to example.com
page.ip:192.168.1.1 → Finds all URLs hosted on this IP
2. Common URLscan Dorking Queries
a) Finding Open Admin Panels
@githubfoam
githubfoam / cyber threat intelligence cheat sheet
Created March 28, 2025 06:33
cyber threat intelligence cheat sheet
#===================================================================================================================================
Analyzing cyber incidents, attack patterns, and TTPs (Tactics, Techniques, and Procedures) of threat actors.
Working with SIEM tools for log analysis and real-time threat detection
Investigating security breaches, malware analysis, and intrusion detection.
Utilizing MITRE ATT&CK / Cyber Kill Chain, threat intelligence feeds / MISP, and OSINT to map threats to vulnerabilities
Working as incident response and with legal inquiries
@githubfoam
githubfoam / base 64 detection cheat sheet
Created April 16, 2025 16:11
base 64 detection cheat sheet
#===================================================================================================================================
Base64-Encoded C2 Domain: Explanation & Examples
What is Base64 Encoding?
Base64 is a method of encoding binary data into ASCII text, often used to obfuscate malicious commands, URLs, or payloads to evade detection.
Why Do Attackers Use Base64 for C2 Communication?
Evasion: Many security tools scan for known malicious domains in plaintext.
Obfuscation: Makes malicious traffic harder to identify in logs.
@githubfoam
githubfoam / eduroam cheat sheet
Last active August 23, 2026 02:29
eduroam cheat sheet
------------------------------------------------------------------------------------------
only offered eduroam for both its local community and visitors, the implications would generally be manageable but would present specific challenges, primarily related to local resource access and network control.
1. Access to Local Resources
Challenge: The most significant issue. Local users connecting via eduroam at their home university are often placed on a more restricted network segment (VLAN) that only allows basic internet access. This is done for security and simplicity for roaming users.
Implication: Local staff and students would likely lose seamless access to internal resources like network-attached storage (NAS), campus-specific printers, internal applications, or certain library databases that are restricted to the local network. They would probably need to use a VPN (Virtual Private Network) to access these resources, adding an extra, necessary step to their daily workflow.
The core differenc
@githubfoam
githubfoam / PAM - privilleged access management cheat sheet
Last active May 23, 2025 11:09
PAM - privilleged access management cheat sheet
#===================================================================================================================================
What does a Holistic Approach in PAM involve?
Comprehensive User Access Control
Not only managing privileged users, but also regular employees, third-party contractors, and automated system accounts.
Example: Instead of just securing admin accounts, PAM also tracks access for interns, vendors, and service accounts across all systems
Integration with Other Systems
@githubfoam
githubfoam / xdr cheat sheet
Last active April 22, 2026 07:02
xdr cheat sheet
#======================================================================
To make an informed decision on purchasing an XDR product, you need a structured approach to evaluating vendors and ensuring the solution meets your security needs. Here's how you can organize the process effectively:
1. Define Evaluation Goals & Success Criteria
Establish clear objectives for adopting an XDR solution (e.g., better threat detection, improved response automation).
Identify key security gaps that need addressing.
Define measurable success criteria for the evaluation (e.g., ease of integration, accuracy of threat detection, response time).
@githubfoam
githubfoam / wazuh cheat sheet
Created May 29, 2025 12:02
wazuh cheat sheet
#======================================================================
Part 2: Simulated Detection Scenarios
✅ Wazuh – File Integrity Monitoring
Scenario: Someone modifies /etc/passwd.
Simulate:
echo "#TEST123" >> /etc/passwd