<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by FENRIR on Medium]]></title>
        <description><![CDATA[Stories by FENRIR on Medium]]></description>
        <link>https://medium.com/@broclee89?source=rss-ad089b0f7fd6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yGppCHNZWS0AvrL0rUIBRw.jpeg</url>
            <title>Stories by FENRIR on Medium</title>
            <link>https://medium.com/@broclee89?source=rss-ad089b0f7fd6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:15:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@broclee89/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Memory Data Acquisition]]></title>
            <link>https://systemweakness.com/memory-data-acquisition-9649fc91e92b?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9649fc91e92b</guid>
            <category><![CDATA[data-forensics]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[dfir]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Fri, 13 Sep 2024 13:43:35 GMT</pubDate>
            <atom:updated>2024-09-16T12:17:20.308Z</atom:updated>
            <content:encoded><![CDATA[<p>Memory Data Acquisition</p><h3>Executive Summary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*izz12g1tzUx6uLvhOjv7QQ@2x.jpeg" /></figure><p>This task focuses on two key memory acquisition techniques:</p><ol><li><strong>FTK Imager</strong>: Captures full system memory for a complete system snapshot.</li><li><strong>ProcDump</strong>: Targets specific processes for focused analysis.</li></ol><p>These methods are vital for effective incident response and digital forensics, enhancing cybersecurity capabilities.</p><h3>Objectives</h3><ul><li>Understand the process of full system memory acquisition</li><li>Learn how to capture memory from a specific running process</li><li>Gain hands-on experience with forensic tools: FTK Imager and ProcDump</li></ul><h3>Part 1: Full System Memory Acquisition with FTK Imager</h3><h3>About FTK Imager</h3><p>FTK (Forensic Toolkit) Imager is a powerful, user-friendly tool used for acquiring and analyzing digital evidence. It’s widely used in the field of digital forensics.</p><h3>Steps:</h3><ol><li><strong>Launch FTK Imager</strong></li></ol><ul><li>Navigate to the Acquisition Tools folder on the Desktop</li><li>Double-click on the FTK Imager icon to launch the application</li></ul><p><strong>2. Initiate Memory Capture</strong></p><ul><li>In the FTK Imager window, click on “File” in the top menu</li><li>Select “Capture Memory” from the dropdown menu</li></ul><p><strong>3. Configure Destination</strong></p><ul><li>In the dialog box that appears, click on the browse button (…) next to “Destination Path”</li><li>Navigate to and select the Desktop as your destination</li><li>Optionally, you can rename the output file (default is “memdump.mem”)</li></ul><p><strong>4. Start the Acquisition Process</strong></p><ul><li>Click “Capture Memory” to begin the process</li><li>A progress bar will appear, showing the status of the memory dump</li><li>Wait for the process to complete (this may take several minutes depending on your system’s RAM)</li></ul><h3>Note on System Impact</h3><p>Full memory acquisition can be resource-intensive. Ensure that you have sufficient disk space for the dump file, which will be approximately the size of your system’s RAM.</p><h3>Part 2: Process-Specific Memory Dump with ProcDump</h3><h3>About ProcDump</h3><p>ProcDump is a command-line utility that’s part of the Sysinternals suite by Microsoft. It’s designed for capturing process memory dumps, making it invaluable for targeted memory analysis.</p><h3>Steps:</h3><ol><li><strong>Open PowerShell as Administrator</strong></li></ol><ul><li>Press Win + X and select “Windows PowerShell (Admin)”</li><li>If prompted, click “Yes” to allow the app to make changes</li></ul><p><strong>2. Navigate to ProcDump Location</strong></p><ul><li>Use the cd command to change to the Acquisition Tools directory:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*emfXRW_mUY2-olFeHWNngQ.png" /></figure><p>Replace the path with the actual location on your system.</p><p><strong>3. Launch Target Application</strong></p><ul><li>For this exercise, we’ll use Calculator as our target</li><li>Type calc in PowerShell and press Enter to launch Calculator</li></ul><p><strong>4. Identify Process ID (PID)</strong></p><ul><li>Run the following command to find Calculator’s PID:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*uuRXLdi_rsYfAPtntlSMOg.png" /></figure><p>Note the number in the second column, which is the PID.</p><p><strong>5. Execute ProcDump</strong></p><ul><li>Use the following command structure:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*dVhFzLz92ALkSDXNAhAOIQ.png" /></figure><ul><li>Replace &lt;PID&gt; with the actual number you noted</li><li>Example: .\procdump.exe -ma 1234</li></ul><p><strong>6. Locate Output File</strong></p><ul><li>ProcDump will create a .dmp file in the current directory</li><li>The filename will include the process name and timestamp</li></ul><h3>Understanding ProcDump Parameters</h3><ul><li>-ma: Writes a full dump file with all process memory</li></ul><h3>Best Practices</h3><ul><li>Always obtain proper authorization before capturing memory in a professional setting</li><li>Handle memory dumps with care, as they may contain sensitive information</li><li>Consider using write blockers when working with evidence to maintain integrity</li></ul><h3>Conclusion</h3><p>These techniques provide valuable insights into system and process states, crucial for malware analysis, incident response, and forensic investigations. Practice these methods to become proficient in memory acquisition, a key skill in digital forensics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9649fc91e92b" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/memory-data-acquisition-9649fc91e92b">Memory Data Acquisition</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CompTIA Security+ Study Guide (Exam SY0–701)]]></title>
            <link>https://systemweakness.com/comptia-security-study-guide-exam-sy0-701-2a91ac7ab192?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a91ac7ab192</guid>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[comptia]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Wed, 24 Jul 2024 14:50:38 GMT</pubDate>
            <atom:updated>2024-07-25T14:54:39.031Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*64rIVfhdDALVdHr35gbkvw@2x.jpeg" /></figure><p>This study guide provides a comprehensive overview of the essential topics and concepts required to pass the CompTIA Security+ SY0–701 exam. It covers four main areas: General Security Concepts, Threats and Mitigations, Security Architecture, and Security Operations and Management.</p><p><strong>CIA Triad</strong></p><ul><li><strong>Confidentiality:</strong> Ensures that sensitive information is accessed only by authorized individuals.</li><li><strong>Integrity:</strong> Maintains the accuracy and completeness of data.</li><li><strong>Availability:</strong> Ensures that information and resources are accessible to authorized users when needed.</li></ul><p><strong>AAA Principles</strong></p><ul><li><strong>Authentication:</strong> Verifying the identity of a user or system.</li><li><strong>Authorization:</strong> Granting permissions based on authenticated identities.</li><li><strong>Accounting:</strong> Tracking user activities and resource usage.</li></ul><p><strong>Zero Trust Principles</strong></p><ul><li><strong>Continuous Verification:</strong> Always verify access, never trust by default.</li><li><strong>Least Privilege:</strong> Grant the minimum level of access necessary.</li><li><strong>Assume Breach:</strong> Operate as if the network is already compromised.</li></ul><p><strong>Physical Security Measures</strong></p><ul><li><strong>Access Control Systems:</strong> Use of badges, biometric scanners, and security guards.</li><li><strong>Environmental Controls:</strong> Fire suppression systems, HVAC, and surveillance cameras.</li></ul><p><strong>Cryptographic Fundamentals</strong></p><ul><li><strong>Symmetric Encryption:</strong> Same key for encryption and decryption (e.g., AES).</li><li><strong>Asymmetric Encryption:</strong> Public and private keys for encryption and decryption (e.g., RSA).</li><li><strong>Hashing:</strong> Ensuring data integrity by generating unique data fingerprints (e.g., SHA-256).</li><li><strong>Digital Signatures:</strong> Verifying the authenticity and integrity of messages.</li></ul><p><strong>Additional Key Concepts</strong></p><ul><li><strong>Non-repudiation:</strong> Ensuring that a party cannot deny the authenticity of their signature on a document or a message.</li><li><strong>Defense in Depth:</strong> Multiple layers of security controls.</li><li><strong>Separation of Duties:</strong> Dividing tasks among different people to reduce risk.</li></ul><p><strong>Threats and Mitigations</strong></p><p><strong>Common Attack Vectors</strong></p><ul><li><strong>Phishing:</strong> Deceptive emails to trick users into revealing information.</li><li><strong>Social Engineering:</strong> Manipulating individuals to gain confidential information.</li><li><strong>Malware:</strong> Malicious software (e.g., viruses, ransomware).</li><li><strong>Advanced Persistent Threats (APTs):</strong> Prolonged and targeted cyberattacks.</li></ul><p><strong>Vulnerability Management</strong></p><ul><li><strong>Scanning Systems:</strong> Regularly checking for vulnerabilities.</li><li><strong>Patch Management:</strong> Keeping software up to date.</li><li><strong>Risk Assessment:</strong> Evaluating the potential impact of threats.</li></ul><p><strong>Network-Based Attacks</strong></p><ul><li><strong>DDoS:</strong> Distributed Denial of Service attacks to overwhelm systems.</li><li><strong>Port Scanning:</strong> Identifying open ports and services.</li><li><strong>DNS Attacks:</strong> Manipulating domain name system queries.</li></ul><p><strong>Web Application Vulnerabilities</strong></p><ul><li><strong>SQL Injection:</strong> Inserting malicious SQL queries.</li><li><strong>Cross-Site Scripting (XSS):</strong> Injecting malicious scripts into web pages.</li></ul><p><strong>Wireless Network Risks</strong></p><ul><li><strong>Evil Twin Attacks:</strong> Fake Wi-Fi access points mimicking legitimate ones.</li><li><strong>WEP/WPA Cracking:</strong> Breaking weak wireless encryption protocols.</li></ul><p><strong>Mitigation Strategies</strong></p><ul><li><strong>Firewalls:</strong> Controlling incoming and outgoing network traffic.</li><li><strong>IDS/IPS:</strong> Intrusion Detection and Prevention Systems for monitoring and blocking threats.</li><li><strong>Antivirus Software:</strong> Detecting and removing malicious software.</li><li><strong>Network Segmentation:</strong> Dividing networks into segments to contain breaches.</li><li><strong>Security Assessments:</strong> Regular penetration testing and vulnerability scans.</li></ul><p><strong>Security Architecture</strong></p><p><strong>Network Security Components</strong></p><ul><li><strong>Firewalls:</strong> Control traffic based on predetermined security rules.</li><li><strong>VPNs:</strong> Secure remote access through encrypted connections.</li><li><strong>NAT:</strong> Network Address Translation for IP address concealment.</li></ul><p><strong>Cloud Security Concepts</strong></p><ul><li><strong>Shared Responsibility Model:</strong> Cloud providers and users share security responsibilities.</li><li><strong>Service Models:</strong> IaaS, PaaS, SaaS.</li><li><strong>Deployment Models:</strong> Public, private, hybrid, and community clouds.</li><li><strong>CASBs:</strong> Cloud Access Security Brokers for enforcing security policies.</li></ul><p><strong>Secure Application Development</strong></p><ul><li><strong>SDLC:</strong> Integrating security throughout the Software Development Life Cycle.</li><li><strong>DevSecOps:</strong> Embedding security practices in DevOps.</li><li><strong>API Security:</strong> Protecting Application Programming Interfaces from threats.</li></ul><p><strong>Virtualization and Containerization Security</strong></p><ul><li><strong>Hypervisor Protection:</strong> Securing the virtual machine manager.</li><li><strong>Container Isolation:</strong> Ensuring containers do not interfere with each other.</li><li><strong>Image Security:</strong> Using trusted and verified container images.</li></ul><p><strong>IoT and Embedded Systems Security</strong></p><ul><li><strong>Device Hardening:</strong> Strengthening devices against attacks.</li><li><strong>Network Segmentation:</strong> Isolating IoT devices from critical networks.</li><li><strong>Firmware Updates:</strong> Regularly updating device firmware to patch vulnerabilities.</li></ul><p><strong>ICS and SCADA Security</strong></p><ul><li><strong>Critical Infrastructure Protection:</strong> Securing Industrial Control Systems and Supervisory Control and Data Acquisition systems from cyber threats.</li></ul><p><strong>Security Operations and Management</strong></p><p><strong>Incident Response Procedures</strong></p><ul><li><strong>Preparation:</strong> Establishing and training an incident response team.</li><li><strong>Identification:</strong> Detecting and identifying incidents.</li><li><strong>Containment:</strong> Limiting the impact of the incident.</li><li><strong>Eradication:</strong> Removing the cause of the incident.</li><li><strong>Recovery:</strong> Restoring systems to normal operation.</li><li><strong>Lessons Learned:</strong> Analyzing the incident to improve future response.</li></ul><p><strong>Business Continuity and Disaster Recovery</strong></p><ul><li><strong>Business Impact Analysis (BIA):</strong> Identifying critical functions and their impact.</li><li><strong>Recovery Time Objectives (RTO):</strong> Maximum acceptable downtime.</li><li><strong>Recovery Point Objectives (RPO):</strong> Maximum acceptable data loss.</li><li><strong>Backup Strategies:</strong> Regular and secure backups of data.</li></ul><p><strong>Log Management and Analysis</strong></p><ul><li><strong>SIEM Systems:</strong> Security Information and Event Management for centralized logging and analysis.</li><li><strong>Log Analysis:</strong> Reviewing logs to detect and investigate incidents.</li></ul><p><strong>Proactive Security Measures</strong></p><ul><li><strong>Penetration Testing:</strong> Simulating attacks to find vulnerabilities.</li><li><strong>Vulnerability Assessments:</strong> Regularly scanning for and addressing security weaknesses.</li><li><strong>Threat Hunting:</strong> Actively searching for threats within the network.</li><li><strong>Intelligence Gathering:</strong> Using threat intelligence to stay ahead of potential threats.</li></ul><p><strong>Risk Management</strong></p><ul><li><strong>Quantitative Analysis:</strong> Measuring risk in numerical terms.</li><li><strong>Qualitative Analysis:</strong> Assessing risk based on subjective criteria.</li><li><strong>Compliance:</strong> Adhering to regulatory frameworks like GDPR, HIPAA, and PCI DSS to avoid legal and financial repercussions.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a91ac7ab192" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/comptia-security-study-guide-exam-sy0-701-2a91ac7ab192">CompTIA Security+ Study Guide (Exam SY0–701)</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AZ-900 Azure Fundamentals Exam Study Guide (2024 Edition)]]></title>
            <link>https://medium.com/@broclee89/az-900-azure-fundamentals-exam-study-guide-2024-edition-6b9ff9018a80?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9ff9018a80</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Tue, 09 Jul 2024 14:24:33 GMT</pubDate>
            <atom:updated>2024-07-09T14:27:47.937Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wBSbu3Ar_zD4bTrc5z75cQ@2x.jpeg" /></figure><h3>Executive Summary</h3><p>AZ-900 Azure Fundamentals Exam Study Guide Overview<br>The AZ-900 Azure Fundamentals certification exam tests candidates’ knowledge of cloud concepts, Azure services, and Azure management tools. This study guide provides a comprehensive overview of the exam content and preparation resources. Key Points</p><ul><li>The exam covers three main domains: Cloud Concepts, Azure Architecture and Services, and Azure Management and Governance.</li><li>Key topics include cloud computing models, Azure core services, and Azure management tools.</li><li>The exam emphasizes understanding of cloud benefits, Azure’s architectural components, and cost management in Azure.</li></ul><h3>1. Introduction</h3><p>This study guide is designed to help you prepare for the Microsoft AZ-900 Azure Fundamentals certification exam. It covers all domains and topics outlined in the latest exam syllabus, providing a targeted and efficient way to study for the exam.</p><h3>2. Exam Structure</h3><p>The AZ-900 exam is divided into three main domains:</p><ol><li>Describe Cloud Concepts (25–30%)</li><li>Describe Azure Architecture and Services (35–40%)</li><li>Describe Azure Management and Governance (30–35%)</li></ol><p>Total exam time: 45 minutes<br> Passing score: 700 out of 1000 points</p><h3>3. Domain 1: Describe Cloud Concepts</h3><h3>3.1 Describe Cloud Computing</h3><p><strong>Define cloud computing:</strong></p><ul><li>Cloud computing is the delivery of computing services over the internet (“the cloud”) to offer faster innovation, flexible resources, and economies of scale.</li></ul><p><strong>Describe the shared responsibility model:</strong></p><ul><li>In cloud computing, the responsibility for security and compliance is shared between the cloud provider and the customer. The provider is responsible for the infrastructure, while the customer is responsible for data, endpoints, accounts, and access management.</li></ul><p><strong>Define cloud models, including public, private, and hybrid:</strong></p><ul><li><strong>Public Cloud:</strong> Services are delivered over the public internet and shared across organizations.</li><li><strong>Private Cloud:</strong> Services are maintained on a private network, offering greater control and security.</li><li><strong>Hybrid Cloud:</strong> Combines public and private clouds, allowing data and applications to be shared between them.</li></ul><p><strong>Identify appropriate use cases for each cloud model:</strong></p><ul><li><strong>Public Cloud:</strong> Ideal for workloads with high scalability needs.</li><li><strong>Private Cloud:</strong> Suitable for sensitive data and applications requiring high security.</li><li><strong>Hybrid Cloud:</strong> Best for businesses needing flexibility and data integration between different environments.</li></ul><p><strong>Describe the consumption-based model:</strong></p><ul><li>Users pay only for the resources they use, which can lead to cost savings and efficient resource utilization.</li></ul><p><strong>Compare cloud pricing models:</strong></p><ul><li><strong>Pay-as-you-go:</strong> Charges based on actual usage.</li><li><strong>Reserved instances:</strong> Offers a discount for committing to use a certain amount of resources over a period.</li><li><strong>Spot pricing:</strong> Provides significant discounts for using spare capacity.</li></ul><p><strong>Describe serverless computing:</strong></p><ul><li>Serverless computing allows developers to build and run applications without managing infrastructure. The cloud provider automatically provisions, scales, and manages the infrastructure required to run the code.</li></ul><h3>3.2 Describe the Benefits of Using Cloud Services</h3><p><strong>High availability and scalability:</strong></p><ul><li>Cloud services offer high availability through redundancy and failover mechanisms. Scalability allows resources to be adjusted dynamically based on demand.</li></ul><p><strong>Reliability and predictability:</strong></p><ul><li>Cloud providers offer Service Level Agreements (SLAs) that guarantee uptime and performance, ensuring reliability and predictability.</li></ul><p><strong>Security and governance:</strong></p><ul><li>Cloud services include built-in security features and compliance certifications to help protect data and meet regulatory requirements.</li></ul><p><strong>Manageability:</strong></p><ul><li>Cloud platforms provide tools and services for monitoring, managing, and automating infrastructure and applications.</li></ul><h3>3.3 Describe Cloud Service Types</h3><p><strong>Infrastructure as a Service (IaaS):</strong></p><ul><li>Provides virtualized computing resources over the internet. Examples include virtual machines, storage, and networks.</li></ul><p><strong>Platform as a Service (PaaS):</strong></p><ul><li>Offers a platform allowing customers to develop, run, and manage applications without dealing with the underlying infrastructure. Examples include Azure App Service and Azure SQL Database.</li></ul><p><strong>Software as a Service (SaaS):</strong></p><ul><li>Delivers software applications over the internet on a subscription basis. Examples include Microsoft Office 365 and Salesforce.</li></ul><p><strong>Identify appropriate use cases for each cloud service type (IaaS, PaaS, and SaaS):</strong></p><ul><li><strong>IaaS:</strong> Suitable for lift-and-shift migrations, testing and development environments.</li><li><strong>PaaS:</strong> Ideal for application development and deployment.</li><li><strong>SaaS:</strong> Best for end-user applications like email, CRM, and collaboration tools.</li></ul><h3>4. Domain 2: Describe Azure Architecture and Services</h3><h3>4.1 Describe the Core Architectural Components of Azure</h3><p><strong>Azure regions and availability zones:</strong></p><ul><li>Azure regions are geographical areas containing multiple datacenters. Availability zones are physically separate locations within a region, providing high availability and fault tolerance.</li></ul><p><strong>Azure resources and resource groups:</strong></p><ul><li>Resources are manageable items available through Azure, such as virtual machines, storage accounts, and databases. Resource groups are containers that hold related resources for an Azure solution.</li></ul><p><strong>Azure subscriptions and management groups:</strong></p><ul><li>Subscriptions provide access to Azure services and resources. Management groups help manage access, policy, and compliance across multiple subscriptions.</li></ul><h3>4.2 Describe Azure Compute and Networking Services</h3><p><strong>Virtual Machines:</strong></p><ul><li>Azure Virtual Machines (VMs) provide scalable computing resources on demand.</li></ul><p><strong>Azure App Service:</strong></p><ul><li>A fully managed platform for building, deploying, and scaling web apps.</li></ul><p><strong>Azure Container Instances:</strong></p><ul><li>A service that allows you to run containers without managing the underlying infrastructure.</li></ul><p><strong>Azure Kubernetes Service (AKS):</strong></p><ul><li>A managed Kubernetes service for deploying, managing, and scaling containerized applications.</li></ul><p><strong>Azure Virtual Networks:</strong></p><ul><li>Enables secure communication between Azure resources, the internet, and on-premises networks.</li></ul><p><strong>VPN Gateway and ExpressRoute:</strong></p><ul><li>VPN Gateway provides secure cross-premises connectivity. ExpressRoute offers a private connection to Azure.</li></ul><h3>4.3 Describe Azure Storage Services</h3><p><strong>Azure Blob Storage:</strong></p><ul><li>Object storage solution for the cloud, optimized for storing massive amounts of unstructured data.</li></ul><p><strong>Azure File Storage:</strong></p><ul><li>Fully managed file shares in the cloud, accessible via the Server Message Block (SMB) protocol.</li></ul><p><strong>Azure Queue Storage:</strong></p><ul><li>A service for storing large numbers of messages that can be accessed from anywhere via authenticated calls.</li></ul><p><strong>Azure Table Storage:</strong></p><ul><li>A NoSQL key-value store for rapid development using massive semi-structured datasets.</li></ul><h3>4.4 Describe Azure Identity, Access, and Security</h3><p><strong>Azure Active Directory:</strong></p><ul><li>A cloud-based identity and access management service.</li></ul><p><strong>Azure role-based access control (RBAC):</strong></p><ul><li>Provides fine-grained access management for Azure resources.</li></ul><p><strong>Azure security tools and features:</strong></p><ul><li>Includes services like Azure Security Center, Azure Sentinel, and Azure Key Vault.</li></ul><h3>5. Domain 3: Describe Azure Management and Governance</h3><h3>5.1 Describe Cost Management in Azure</h3><p><strong>Factors affecting costs:</strong></p><ul><li>Resource type, usage patterns, and pricing models.</li></ul><p><strong>Azure Cost Management tool:</strong></p><ul><li>Helps monitor and control Azure spending and optimize resource use.</li></ul><p><strong>Azure Pricing Calculator:</strong></p><ul><li>An online tool to estimate the cost of Azure services.</li></ul><h3>5.2 Describe Features and Tools for Governance and Compliance</h3><p><strong>Azure Policy:</strong></p><ul><li>Enforces organizational standards and assesses compliance at scale.</li></ul><p><strong>Azure Blueprints:</strong></p><ul><li>Enables the definition of repeatable sets of Azure resources that implement and adhere to an organization’s standards, patterns, and requirements.</li></ul><p><strong>Azure compliance offerings:</strong></p><ul><li>Provides compliance certifications and attestations to help meet regulatory requirements.</li></ul><h3>5.3 Describe Features and Tools for Managing and Deploying Azure Resources</h3><p><strong>Azure Portal:</strong></p><ul><li>A web-based interface for managing Azure services.</li></ul><p><strong>Azure PowerShell:</strong></p><ul><li>A set of cmdlets for managing Azure resources directly from the command line.</li></ul><p><strong>Azure CLI:</strong></p><ul><li>A cross-platform command-line tool for managing Azure resources.</li></ul><p><strong>Azure Resource Manager templates:</strong></p><ul><li>JSON files that define the infrastructure and configuration for your Azure solution.</li></ul><h3>5.4 Describe Monitoring Tools in Azure</h3><p><strong>Azure Monitor:</strong></p><ul><li>Collects, analyzes, and acts on telemetry data from Azure and on-premises environments.</li></ul><p><strong>Azure Service Health:</strong></p><ul><li>Provides personalized alerts and guidance when Azure service issues affect you.</li></ul><h3>6. Exam Preparation Resources</h3><ul><li><a href="https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/az-900">Microsoft Learn Paths for AZ-900</a></li><li><a href="https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE3VwUY">AZ-900 Practice Exam</a></li><li><a href="https://www.amazon.com/Microsoft-Certified-Azure-Fundamentals-Study/dp/1119770920">Microsoft Certified Azure Fundamentals Study Guide</a></li><li><a href="https://www.skylinesacademy.com/az900-azure-fundamentals-ultimate-study-guide">Skylines Academy AZ-900 Study Guide</a></li><li><a href="https://github.com/AzureMentor/Azure-AZ-900-Study-Guide">GitHub AZ-900 Study Guide</a></li></ul><h3>7. Study Tips</h3><ol><li><strong>Understand Key Concepts:</strong> Focus on understanding key concepts rather than memorizing details.</li><li><strong>Practice Exams:</strong> Use practice exams to assess your readiness and identify areas for improvement.</li><li><strong>Review Official Documentation:</strong> Regularly review the official Microsoft documentation and resources.</li><li><strong>Hands-On Practice:</strong> Gain practical experience by using Azure services through a free Azure account.</li><li><strong>Join Study Groups:</strong> Engage with study groups or forums to discuss topics and share knowledge.</li></ol><h3>8. Index</h3><ul><li><strong>Azure Active Directory:</strong> 4.4</li><li><strong>Azure App Service:</strong> 4.2</li><li><strong>Azure Blob Storage:</strong> 4.3</li><li><strong>Azure Blueprints:</strong> 5.2</li><li><strong>Azure CLI:</strong> 5.3</li><li><strong>Azure compliance offerings:</strong> 5.2</li><li><strong>Azure Container Instances:</strong> 4.2</li><li><strong>Azure Cost Management:</strong> 5.1</li><li><strong>Azure File Storage:</strong> 4.3</li><li><strong>Azure Kubernetes Service:</strong> 4.2</li><li><strong>Azure Monitor:</strong> 5.4</li><li><strong>Azure Policy:</strong> 5.2</li><li><strong>Azure Portal:</strong> 5.3</li><li><strong>Azure PowerShell:</strong> 5.3</li><li><strong>Azure Pricing Calculator:</strong> 5.1</li><li><strong>Azure Queue Storage:</strong> 4.3</li><li><strong>Azure regions and availability zones:</strong> 4.1</li><li><strong>Azure Resource Manager templates:</strong> 5.3</li><li><strong>Azure resources and resource groups:</strong> 4.1</li><li><strong>Azure role-based access control (RBAC):</strong> 4.4</li><li><strong>Azure Service Health:</strong> 5.4</li><li><strong>Azure subscriptions and management groups:</strong> 4.1</li><li><strong>Azure Table Storage:</strong> 4.3</li><li><strong>Azure Virtual Networks:</strong> 4.2</li><li><strong>Cloud computing:</strong> 3.1</li><li><strong>Cloud deployment models:</strong> 3.1</li><li><strong>Cloud service types:</strong> 3.1, 3.3</li><li><strong>ExpressRoute:</strong> 4.2</li><li><strong>Infrastructure as a Service (IaaS):</strong> 3.3</li><li><strong>Platform as a Service (PaaS):</strong> 3.3</li><li><strong>Shared responsibility model:</strong> 3.1</li><li><strong>Software as a Service (SaaS):</strong> 3.3</li><li><strong>Virtual Machines:</strong> 4.2</li><li><strong>VPN Gateway:</strong> 4.2</li></ul><p>This study guide provides a comprehensive overview of the AZ-900 Azure Fundamentals exam content, along with valuable resources and study tips to help you prepare effectively for the certification.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b9ff9018a80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BuiltWith as a Threat Intelligence Tool]]></title>
            <link>https://systemweakness.com/builtwith-as-a-threat-intelligence-tool-509cdcb83779?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/509cdcb83779</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[social-engineering]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 15:22:55 GMT</pubDate>
            <atom:updated>2024-07-10T06:46:03.994Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wBSbu3Ar_zD4bTrc5z75cQ@2x.jpeg" /></figure><h3>Executive Summary</h3><p>BuiltWith, primarily designed for web technology profiling and market analysis, can be repurposed by threat actors as a powerful reconnaissance tool. This summary outlines its potential misuse in cybersecurity exploits:</p><ol><li><strong>Technology Stack Identification</strong>: BuiltWith reveals detailed information about a website’s technologies, including CMS, frameworks, and server software.</li><li><strong>Vulnerability Discovery</strong>: By identifying specific versions of technologies, actors can cross-reference with known vulnerabilities.</li><li><strong>Attack Planning</strong>: Information gathered can be used to craft targeted attacks, exploiting specific weaknesses in identified technologies.</li><li><strong>Social Engineering</strong>: Data on email services and analytics tools can be leveraged to create convincing phishing campaigns.</li><li><strong>Historical Analysis</strong>: BuiltWith’s historical data feature allows actors to track technology changes over time, potentially revealing periods of vulnerability.</li></ol><p>While BuiltWith serves legitimate business purposes, its capabilities also present significant security implications. Organizations must be aware of this tool’s potential for misuse and implement robust security measures to protect against reconnaissance and targeted attacks.</p><h3>Introduction</h3><p>BuiltWith is a web technology profiler tool that provides detailed information about the technologies used by websites. While it is designed for legitimate purposes such as market analysis, lead generation, and competitive research, it can also be misused by threat actors to identify potential vulnerabilities in target websites.</p><h3>How BuiltWith Works</h3><h3>Data Collection Methods</h3><ol><li><strong>HTTP Headers</strong>: BuiltWith examines HTTP headers, which can reveal server software, programming languages, and other backend technologies.</li><li><strong>HTML Source Code</strong>: It scans the HTML source code for comments, meta tags, and script references that indicate specific technologies.</li><li><strong>JavaScript Files</strong>: The presence of certain JavaScript files can indicate the use of specific frameworks or libraries.</li><li><strong>URL Patterns</strong>: Certain URL patterns or file extensions (e.g., .php, .aspx) can hint at the underlying technologies.</li><li><strong>Cookies</strong>: Specific cookie names and values can be associated with particular frameworks or CMSs.</li></ol><h3>Features</h3><ul><li><strong>Technology Profiling</strong>: Identifies technologies used on websites, including CMS, server software, frameworks, and analytics tools.</li><li><strong>Historical Data</strong>: Provides historical data on technology usage.</li><li><strong>Advanced Filtering</strong>: Allows filtering of reports by technology, location, and other criteria.</li><li><strong>API Access</strong>: Offers API for integrating technology data into other applications.</li></ul><h3>Potential Exploitation by Threat Actors</h3><h3>1. Reconnaissance</h3><p><strong>Objective</strong>: Gather detailed information about the target website’s technology stack. <strong>Steps</strong>:</p><ul><li>Use BuiltWith to identify the CMS, server software, frameworks, and other technologies used by the target website.</li><li>Analyze historical data to understand how the website’s technology stack has evolved.</li></ul><p><strong>Example</strong>: If BuiltWith reveals that a website uses an outdated version of WordPress, a threat actor might look for known vulnerabilities in that version.</p><h3>2. Identifying Vulnerabilities</h3><p><strong>Objective</strong>: Find known vulnerabilities in the technologies used by the target website. <strong>Steps</strong>:</p><ul><li>Cross-reference the identified technologies with databases of known vulnerabilities (e.g., CVE, NVD).</li><li>Look for outdated software versions that have publicly disclosed vulnerabilities.</li></ul><p><strong>Example</strong>: If BuiltWith shows that a website uses an outdated version of Apache, a threat actor might exploit known vulnerabilities in that version.</p><h3>3. Planning and Executing Attacks</h3><p><strong>Objective</strong>: Plan and execute targeted attacks based on the identified vulnerabilities. <strong>Steps</strong>:</p><ul><li>Develop or use existing exploits for the identified vulnerabilities.</li><li>Execute attacks such as SQL injection, cross-site scripting (XSS), or remote code execution (RCE).</li></ul><p><strong>Example</strong>: If BuiltWith identifies a vulnerable plugin in a WordPress site, a threat actor might use an exploit to gain unauthorized access.</p><h3>4. Social Engineering</h3><p><strong>Objective</strong>: Use gathered information to craft convincing phishing or social engineering attacks. <strong>Steps</strong>:</p><ul><li>Use BuiltWith to identify email hosting providers and analytics tools.</li><li>Craft phishing emails that appear legitimate based on the gathered information.</li></ul><p><strong>Example</strong>: If BuiltWith reveals that a website uses a specific email service, a threat actor might create a phishing email that mimics that service.</p><h3>Mitigation Strategies</h3><p>To protect against the misuse of tools like BuiltWith, organizations should:</p><ul><li><strong>Regularly Update Software</strong>: Ensure all software, including CMS, plugins, and server software, is up-to-date.</li><li><strong>Conduct Security Audits</strong>: Regularly perform security audits and vulnerability assessments.</li><li><strong>Implement Security Best Practices</strong>: Use strong passwords, enable multi-factor authentication, and limit user privileges.</li><li><strong>Monitor for Suspicious Activity</strong>: Monitor network traffic and logs for signs of reconnaissance or exploitation attempts.</li><li><strong>Educate Employees</strong>: Provide training on recognizing phishing and social engineering attacks.</li></ul><h3>Conclusion</h3><p>While BuiltWith is a powerful tool for legitimate purposes, it can also be exploited by threat actors to identify vulnerabilities in target websites. Understanding how it works and the potential risks can help organizations better protect themselves against such threats. Always use tools like BuiltWith ethically and within the bounds of the law.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=509cdcb83779" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/builtwith-as-a-threat-intelligence-tool-509cdcb83779">BuiltWith as a Threat Intelligence Tool</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Amass: A Comprehensive Guide to Subdomain Enumeration in Kali Linux]]></title>
            <link>https://systemweakness.com/executive-summary-f29dac72e53a?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f29dac72e53a</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[enumeration]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 14:14:50 GMT</pubDate>
            <atom:updated>2024-07-09T11:37:32.898Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wBSbu3Ar_zD4bTrc5z75cQ@2x.jpeg" /></figure><h3>Executive Summary</h3><p>This comprehensive guide explores the use of Amass, a powerful open-source tool for network mapping and external asset discovery, within the Kali Linux environment. The article provides an in-depth look at Amass’s capabilities for subdomain enumeration and reconnaissance, essential for cybersecurity professionals and ethical hackers. Key points covered:</p><ol><li>Installation methods, including apt, Docker, and building from source</li><li>Basic and advanced usage scenarios, from simple domain enumeration to complex active reconnaissance</li><li>Specialized features such as passive enumeration, brute-forcing, and recursive scanning</li><li>Output options and data visualization techniques</li><li>Integration with multiple data sources and configuration management</li><li>Advanced functionalities like intel gathering and database manipulation</li><li>Best practices for responsible and effective use of Amass</li><li>A practical scripting example for automated enumeration and change tracking</li></ol><p>The guide emphasizes the importance of ethical usage and compliance with legal regulations. It serves as a comprehensive resource for security professionals looking to enhance their enumeration techniques and improve their organization’s security posture through thorough external asset discovery.</p><h3><strong>Amass</strong></h3><p>Amass is a powerful open-source tool for network mapping and external asset discovery, available in Kali Linux. Here’s an extensive guide on using Amass for enumeration:</p><p>Installation:</p><p>Amass comes pre-installed in Kali Linux. However, if you need to install or update it, you can use the following methods:</p><ol><li>Using apt:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*md7DGmJbTa4HJg3YW0qhZQ.png" /></figure><p>2. Using Docker:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*G5oXw8o1tEq1u9j7SIyi9Q.png" /></figure><p>3. Source:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*UVCypmBGGdVpq0T1gTlqig.png" /></figure><h3>Basic Usage</h3><p>The most basic use of Amass for subdomain enumeration is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*HalGjjAgGvQkvPikoVwihg.png" /></figure><p>This command will perform a basic enumeration of the specified domain.</p><h3>Advanced Usage</h3><h3>1. Passive Enumeration</h3><p>For a purely passive enumeration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*KNKGPFG3a7pChWXT10tU2Q.png" /></figure><h3>2. Active Enumeration</h3><p>To enable active reconnaissance methods:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*OPYEufcaxqRdCN8wrLXisQ.png" /></figure><h3>3. Brute Force</h3><p>To include brute-forcing in your enumeration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*Do5hlxsI09-EJzg-ARDPQA.png" /></figure><h3>4. Recursive Enumeration</h3><p>For recursive enumeration with a specified depth:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*ZAUNLAOlVKMRVOsDy0n00A.png" /></figure><h3>5. Output Options</h3><p>To save results to a file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*6795L6d6XXGBRqPXy7r-zQ.png" /></figure><p>To show IP addresses for discovered names:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*VFRp846_Xz0L03PGxO4gHw.png" /></figure><h3>6. Using Multiple Data Sources</h3><p>To include specific data sources:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*bYggV2ALQfVkNVKUFEtVBA.png" /></figure><h3>7. Excluding Data Sources</h3><p>To exclude certain data sources:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*FZaVLIE6PPv2QpE-ypR3Eg.png" /></figure><h3>8. Using a Configuration File</h3><p>Create a configuration file (e.g., config.ini) with your API keys and settings, then use it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*-yO0VRjRMiSgOC2jx36osg.png" /></figure><h3>Advanced Features</h3><h3>1. Intel Gathering</h3><p>To gather intelligence about ASNs, IP ranges, or organization names:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*zdtBOn9BDWpNJIoucfkAtw.png" /></figure><h3>2. Visualizing Results</h3><p>To generate visualizations of enumeration results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*Gq8W48ZMx9FaE1NEGClomA.png" /></figure><h3>3. Tracking Changes</h3><p>To track differences between enumerations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*Z5YKpm20drQRgZhdBAYm5w.png" /></figure><h3>4. Database Manipulation</h3><p>To interact with the Amass graph database:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*rQ1RqqQ7WVyr2SZs-VOPIQ.png" /></figure><h3>Best Practices</h3><ol><li><strong>Use rate limiting</strong>: To avoid overwhelming target servers or getting blocked, use the -max-dns-queries flag.</li><li><strong>Leverage alterations</strong>: Use the -alts flag to generate altered names based on discovered subdomains.</li><li><strong>Combine with other tools</strong>: Use Amass results with other tools like Nmap for comprehensive reconnaissance.</li><li><strong>Regular scans</strong>: Set up periodic scans to track changes in the target’s attack surface.</li><li><strong>Custom wordlists</strong>: Use domain-specific wordlists with the -w flag for more effective brute-forcing.</li></ol><h3>Scripting Example</h3><p>Here’s a basic script to automate Amass enumeration and notify about new subdomains:</p><pre>#!/bin/bash<br><br>DOMAIN=&quot;example.com&quot;<br>OUTPUT_DIR=&quot;./amass_results&quot;<br>CONFIG_FILE=&quot;./config.ini&quot;<br><br># Run Amass enumeration<br>amass enum -d $DOMAIN -config $CONFIG_FILE -o $OUTPUT_DIR/new_results.txt -dir $OUTPUT_DIR<br><br># Compare with previous results<br>NEW_SUBDOMAINS=$(comm -23 &lt;(sort $OUTPUT_DIR/new_results.txt) &lt;(sort $OUTPUT_DIR/previous_results.txt))<br><br>if [ ! -z &quot;$NEW_SUBDOMAINS&quot; ]; then<br>    echo &quot;New subdomains found:&quot;<br>    echo &quot;$NEW_SUBDOMAINS&quot;<br>    # Add notification mechanism here (e.g., email, Slack webhook)<br>fi<br><br># Update previous results<br>mv $OUTPUT_DIR/new_results.txt $OUTPUT_DIR/previous_results.txt</pre><p>This script runs an Amass enumeration, compares the results with a previous scan, and reports any new subdomains found. Remember to always use Amass responsibly and in compliance with applicable laws and regulations. Unauthorized scanning or enumeration of systems you don’t own or have permission to test is illegal in many jurisdictions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f29dac72e53a" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/executive-summary-f29dac72e53a">Getting Started with Amass: A Comprehensive Guide to Subdomain Enumeration in Kali Linux</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an application in Python]]></title>
            <link>https://systemweakness.com/building-an-application-in-python-8a87efcc2f94?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a87efcc2f94</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[script]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 16:09:47 GMT</pubDate>
            <atom:updated>2024-06-28T13:47:19.223Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yGppCHNZWS0AvrL0rUIBRw.jpeg" /></figure><p>In this tutorial, we will create a simple Python application that helps users determine if they can afford certain shoes within their budget. This application uses object-oriented programming principles to define a Shoes class and includes methods for checking the budget, calculating change, and making a purchase.</p><h3>Prerequisites</h3><p>Before you begin, ensure you have the following:</p><ol><li>Python installed on your machine (Python 3.6 or higher recommended).</li><li>Basic understanding of Python programming and object-oriented concepts.</li><li>Text editor or IDE (e.g., VSCode, PyCharm, Sublime Text).</li></ol><h3>Step-by-Step Instructions</h3><h4>1. Create a New Python File</h4><p>Open your text editor or IDE and create a new Python file named shoe_budget.py.</p><h4>2. Define the Shoes Class</h4><p>First, we will define a Shoes class that will hold information about the shoes and the methods needed to handle the budget and purchase logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*GH1I34uLXULgMWQGjFkydQ.png" /></figure><h4>3. Create Instances of the Shoes Class</h4><p>Next, we will create instances of the Shoes class for different types of shoes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*cxpcKYy668lqdg5KjJrPMQ.png" /></figure><h4>4. Get User Input for the Budget</h4><p>We will prompt the user to input their shoe budget and handle any input errors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*T0DMHdSjIReYAcp6lTpJoA.png" /></figure><h4>5. Check If the User Can Afford Any Shoes</h4><p>Finally, we will iterate through the list of shoe options and check if the user can afford each one based on their budget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*Sh6gDqedL_Aurwa0O_ICng.png" /></figure><h3>Full Script</h3><p>Below is the full script combining all the above steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HNrcLP_VU0NyyFbWhc4F1w.png" /></figure><h3>Running the Script</h3><p>To run the script, open your terminal or command prompt and navigate to the directory where your shoe_budget.py file is located. Use the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*v-muxk_QEWn2lVeoXn7Gow.png" /></figure><p>Follow the prompt to input your shoe budget.</p><h3>Example Usage</h3><p>Here is an example of running the script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*Vi9OdjWCc9Bs59TI5jpbEg.png" /></figure><h3>Conclusion</h3><p>Congratulations! You’ve built a simple shoe budget application in Python. This project provides a basic understanding of object-oriented programming, handling user input, and implementing conditional logic. Feel free to expand this project by adding more features or refining the logic.</p><p>Happy Hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a87efcc2f94" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/building-an-application-in-python-8a87efcc2f94">Building an application in Python</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Simple Port Scanner in Python]]></title>
            <link>https://systemweakness.com/building-a-simple-port-scanner-in-python-aa8e8e4baf5d?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa8e8e4baf5d</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[script]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 13:29:12 GMT</pubDate>
            <atom:updated>2024-06-28T13:47:17.082Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yGppCHNZWS0AvrL0rUIBRw.jpeg" /></figure><p>In this tutorial, we will create a basic port scanner using Python. A port scanner is a tool used to identify open ports and services available on a target machine. This script will help you understand the basics of network programming in Python using the socket library.</p><h3>Prerequisites</h3><p>Before you begin, ensure you have the following:</p><ol><li>Python installed on your machine (Python 3.6 or higher recommended).</li><li>Basic understanding of Python programming.</li><li>Text editor or IDE (e.g., VSCode, PyCharm, Sublime Text).</li></ol><h3>Step-by-Step Instructions</h3><h4>1. Create a New Python File</h4><p>Open your text editor or IDE and create a new Python file named scanner.py.</p><h4>2. Import Required Libraries</h4><p>At the top of your scanner.py file, import the necessary libraries:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*IOqES62r4OfR17xCtUGhOw.png" /></figure><h4>3. Define the Target</h4><p>Next, we need to define the target for our port scanner. This script will take an IP address or hostname as a command-line argument. If no argument is provided, the script will print an error message and exit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*3B0rX7rDitedDzPkDkEwTw.png" /></figure><h4>4. Add a Pretty Banner</h4><p>To make our output more readable, let’s add a banner that displays the target and the current time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*gsVjP5WO1MmJoE2-22I-jQ.png" /></figure><h4>5. Implement the Port Scanning Logic</h4><p>Now, we will implement the core functionality of our port scanner. We will attempt to connect to each port in a specified range and print the status of each port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*jPk1Mon205IbzUlPojrfbw.png" /></figure><h4>6. Run the Script</h4><p>To run the script, open your terminal or command prompt and navigate to the directory where your scanner.py file is located. Use the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*x91k1zO8I6VerYaHHOYBtg.png" /></figure><p>Replace &lt;ip&gt; with the IP address or hostname of the target you want to scan.</p><h3>Example Usage</h3><p>Here is an example of running the script against a target with IP address 192.168.1.1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*b_sjehrhCEY-HNd04l5SCw.png" /></figure><p>You should see output similar to the following if there are any open ports within the specified range:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*MwT9ad2nvUSliJyLKE6ErQ.png" /></figure><h3>Conclusion</h3><p>Congratulations! You’ve built a simple port scanner in Python. This script provides a basic foundation for more advanced network scanning and security auditing tools. Remember to use this tool responsibly and only scan systems you have permission to test.</p><p>Happy Hacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa8e8e4baf5d" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/building-a-simple-port-scanner-in-python-aa8e8e4baf5d">Building a Simple Port Scanner in Python</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyzing a reverse Shell Correlating IOCs]]></title>
            <link>https://systemweakness.com/analyzing-a-reverse-shell-correlating-iocs-bdbe6c7034cd?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdbe6c7034cd</guid>
            <category><![CDATA[script]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[shell-script]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Sun, 23 Jun 2024 13:49:31 GMT</pubDate>
            <atom:updated>2024-06-24T18:52:29.979Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wBSbu3Ar_zD4bTrc5z75cQ@2x.jpeg" /></figure><p>**Executive Summary**</p><p>This document outlines a systematic approach to analyzing potentially malicious software using static and dynamic analysis techniques. The process begins with static analysis, where tools like CMDR and Floss are utilized to inspect the sample for any discernible information. If no relevant data is found, the analysis proceeds to dynamic analysis.</p><p>Dynamic analysis involves running the sample in a controlled environment, such as REMnux with INETSIM and Wireshark running to capture network traffic. By observing DNS queries and analyzing traffic, suspicious behavior can be identified. In the case of the examined malware, it was found attempting to reach a DNS record on port 443, indicating potential malicious intent.</p><p>Further investigation includes using tools like Procmon to monitor process activity. By executing the malware and observing its behavior, it was discovered that the malware had reverse shell capabilities, allowing it to establish a connection with a remote listener.</p><p>Overall, this analysis demonstrates a comprehensive methodology for identifying and understanding the behavior of potentially harmful software, enabling effective threat mitigation and response strategies.</p><p>**Static Analysis**</p><p>Open up CMDR</p><p>Cd to Desktop</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*7ddI4tPXkxjqo414ClCbqg.png" /></figure><p>Open up flossout.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/1*FkRJbB0EuDVKcHxKXUe0Kw.png" /></figure><p>Upon inspection, we did not find any relevant information we could use within the text file. That’s ok, but we really wanna make sure we are exercising due diligence and always check first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*lnYDiVSag9UWxPM1Q7dGag.png" /></figure><p>Let’s go ahead and close out the flossout.txt file, as well as CMDER.</p><p>Navigate to PEStudio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MxCgYEAnT-aVuT3v7ZYwUw.png" /></figure><p>Navigate to the blacklist and see if anything stands out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*ZA0iilUfOxmOK66UIl_bww.png" /></figure><p>You may not know exactly what an API call is or what it is doing, but you can always go to the Microsoft website, and read up if you aren’t familiar with them. Familiarize yourself with them so you can determine which ones are worth your efforts.</p><p>Not much is going on here either. Moving on to our dynamic analysis.</p><p>**Dynamic Analysis**</p><p>Make sure we have REMnux up with INETSIM running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*kh4JGTRjHq-AYw61NKdKKA.png" /></figure><p>Open another terminal and run Wireshark as well to capture all of the network traffic. <br>Click on the capture in the top left and let’s observe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a4LqiJ25Cif4CODulyvs-Q.png" /></figure><p>We already suspect that there is socket capability present, so we need to be extremely alert.</p><p>Let’s arm and run the sample as admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*jz093SI5n-0XJ_v-PTRPRA.png" /></figure><p>Navigate to the REMnux terminal running Wireshark to see what happened. <br>We can see some DNS queries coming up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-JWvFF-IgvE_h6dVNdK5jA.png" /></figure><p>Let’s take a look.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oi3KhSsNim3_8PxbONztzw.png" /></figure><p>We found a Record DNS: aaaa….kadusus.local</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*7np-MTdsYl0BTamrnMzeUA.png" /></figure><p>Let’s move over to our FlareVM machine. Navigate to CMDER and run as admin. Type the following command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*9tQcZNBgVEsuhjEkq8AnTg.png" /></figure><p>Once the command has been run, this will populate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NBBMNLIS1pEbtxRxuBt0aA.png" /></figure><p>Move your down arrow key to the bottom of the text, and input this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*yrODb7XE_Np3kzuZmN9aFQ.png" /></figure><p>Save this in nano by holding down control + o/. Keep the file name standard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z8ew8a-yq0Jtuuj0jDUeOg.png" /></figure><p>Once you hit Enter, it will say it wrote 22 lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*-qoATPxh5sVc1JyH_cmarQ.png" /></figure><p>Exit out of nano by holding control + x.</p><p>At this particular point, we can surmise this malware is attempting to reach a DNS record, but our Wireshark information is not sufficient. It states that that it is pointed a DNS record, but does not give us a port or protocol. We don’t know how this is trying to connect to the DNS record.</p><p>*at this point I start to use Flameshot for screenshots</p><p>Let’s try to see what information we can get from host. Navigate to Procmon and fire it up. Let’s ensure we have the below filters added and applied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*k_L5B6fHd88Yt5lvKYo9VQ.png" /></figure><p>Absolutely nothing populates just yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*fd90ZwzKeG3o9PAdEuwiiw.png" /></figure><p>Time to execute the malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/156/1*Z_fq8ebsNTo1GpzkOssdSg.png" /></figure><p>Oh snap. We have some information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*8pKYshW0zcoadi4Qx6Hr3Q.png" /></figure><p>Let’s expand the path section so we can see what is going on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*C2i2v0s3BJv-rVY1QJbICw.png" /></figure><p>HTTPS…. Oh snap, that’s port 443. Now we know that this malware is calling out to a specified DNS record and what port it is using.</p><p>Time to open up CMDER again. Make sure we run as admin. Run this command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*rsP6kZ4L_xq7pb2IoWvM3w.png" /></figure><p>Run the malware again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/1*N4WvxUZ513ZWMnHebETW4A.png" /></figure><p>Look what popped up in CMDER.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*sKBUsat9Ji5ingPN399vJg.png" /></figure><p>Now we have an open socket that we tricked the malware into thinking was us.</p><p>If we had no idea this was a RAT to begin with, we could ask CMDER “whoami”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*fbETCCg4lJHBrSkwBk7LHg.png" /></figure><p>Essentially what we have done is setup a listener, when the malware was executed, it reached out to the listener and connected. This opened a command shell. We can input commands within the shell, and see them populate in Procmon. Turns out this malware has reverse shell capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*snRZ0A4Rz0Yn7TtSlkEDHw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdbe6c7034cd" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/analyzing-a-reverse-shell-correlating-iocs-bdbe6c7034cd">Analyzing a reverse Shell Correlating IOCs</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scripting with Bash]]></title>
            <link>https://systemweakness.com/scripting-with-bash-ae08edde2c7b?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae08edde2c7b</guid>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[bash]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Wed, 12 Jun 2024 14:50:32 GMT</pubDate>
            <atom:updated>2024-06-14T21:10:21.984Z</atom:updated>
            <content:encoded><![CDATA[<p>EXECUTIVE SUMMARY</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wBSbu3Ar_zD4bTrc5z75cQ@2x.jpeg" /></figure><p>This guide introduces the fundamentals of Bash scripting to automate tasks in Linux environments. It starts with creating and executing basic scripts, including adding the shebang line (`#!/bin/bash`), making the script executable using `chmod +x`, and running the script from the terminal.</p><p>Users learn to find IP addresses using `ipconfig` for Windows or `ifconfig` for macOS/Linux and to check network connectivity using the `ping` command. The guide covers essential text processing techniques such as redirecting output to files with `&gt;`, displaying file contents with `cat`, and chaining commands using pipes (`|`) for filtering and processing data with `grep`, `cut`, and `tr`.</p><p>A significant part of the guide involves creating an IP sweep script (`ipsweep.sh`) to automate pinging a range of IP addresses, displaying active hosts. This includes writing the script, making it executable, and running it to perform network diagnostics. The guide provides a practical introduction to scripting that enhances productivity and automates routine tasks in Linux.</p><p>INTRODUCTION</p><p>Welcome to “Scripting with Bash”. Starting with the basics, you’ll learn how to create and execute your first script, navigate the command line interface, and implement conditional statements and looping structures.</p><p>As you progress, you’ll develop the skills necessary to write efficient and effective scripts tailored to your specific needs.</p><p>Join us on this professional journey, and discover how Bash scripting can revolutionize your workflow and transform your Linux experience.</p><p>IP ADDRESS PING</p><p>To find your desktop’s IP address, follow these steps:</p><p>- Access the Command Prompt (Windows) or Terminal (macOS/Linux).</p><p>- For Windows users, type the command ipconfig and press Enter. Your IP address will be displayed under the “Ethernet adapter” or “Wireless adapter” section, labeled as “IPv4 Address.”</p><p>- For macOS or Linux users, type the command ifconfig and press Enter. Locate the “inet” line within the active network interface (usually “en0” for macOS or “eth0” for Linux) to find your IP address.</p><p>Obtaining your desktop’s IP address can be useful for various purposes such as network troubleshooting, configuring remote connections, or setting up local servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*0XthyNFvqpEKbSd-va8dZg.png" /></figure><p>To ping your IP address using Linux, follow these steps:</p><p>-Open a terminal window in your Kali Linux system.</p><p>-Type the command ping &lt;your_ip_address&gt;, replacing &lt;your_ip_address&gt; with your actual IP address. Press Enter to execute the command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*9mQ1StQ7_pMua1BhCgC5GA.png" /></figure><p>The terminal will display the results of the ping command, showing the round-trip time (latency) for each packet sent and received, as well as any potential packet loss.</p><p>To add a count to your ping command in Linux, use the -c option followed by the desired number of packets you want to send. Here’s how to do it:</p><p>- Type the command ping -c &lt;count&gt; &lt;your_ip_address&gt;, replacing &lt;count&gt; with the number of packets you want to send and &lt;your_ip_address&gt; with your actual IP address. Press Enter to execute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*s6_ltNjzVm6n7ivcpcV9tA.png" /></figure><p>By specifying a count, the ping command will send a set number of packets and then stop, providing a snapshot of the network performance during that time.</p><p>Adjusting the count parameter can be useful for limiting the duration of the ping test or gathering more detailed latency statistics for a specific number of packets.</p><p>To create a text file containing the results of your ping command in Linux, you can use output redirection. Here’s how to do it:</p><p>-Type the command ping -c &lt;count&gt; &lt;your_ip_address&gt; &gt; ping_results.txt, replacing &lt;count&gt; with the number of packets you want to send and &lt;your_ip_address&gt; with your actual IP address. The &gt; symbol is used for output redirection, and ping_results.txt is the name of the text file that will be created. Press Enter to execute the command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*3YFI_L_WohMmmI9KIAzwhQ.png" /></figure><p>Upon execution, the terminal will create a new text file named ping_results.txt in your current working directory, containing the output of the ping command.</p><p>Creating a text file with the ping results can be useful for documentation purposes, further analysis, or sharing the network performance data with others.</p><p>To display the contents of a file named ip.txt using the cat command in a Linux terminal, follow this step:</p><p>-Type the command cat ip.txt and press Enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*3s0MmUwbeLulSf1zjoI4TQ.png" /></figure><p>The contents of the ip.txt file will be displayed in the terminal window.<br>If the ip.txt file contains an IP address, the cat command will output that IP address to the terminal.</p><p>Using the cat command to display the contents of a .txt file is a quick and efficient way to access the information it contains. This can be particularly useful when working in a terminal environment or incorporating the file into a script or automation process.</p><p>Using a .txt file to store information, such as an IP addresses, can be useful in various scenarios:</p><p>- Scripting and automation: Text files can be easily read and manipulated by shell scripts or other programming languages, making them ideal for storing configuration values, logs, or other data.</p><p>- Documentation and notes: Plain text files are a simple way to store notes or document information for future reference. They can be easily created, viewed, and edited using basic text editors or command-line tools like cat, nano, or vi.</p><p>- Portability: Text files are compatible across different platforms and operating systems, making it easy to share data between devices or users.</p><p>- Version control: Text files can be easily managed with version control systems like Git, allowing you to track changes and collaborate with others on projects.</p><p>PIPING</p><p>In the context of Linux and Unix-like operating systems, “piping” refers to the process of chaining together multiple commands or programs to create a more complex operation. Piping involves using the output of one command as the input for another command, essentially creating a flow of data between them.</p><p>The pipe symbol (|) is used to connect the commands, with the output of the command on the left-hand side of the pipe becoming the input for the command on the right-hand side.</p><p>Piping is a powerful feature of the Linux command line that allows users to create complex operations by combining simple commands, making it easier to process data and automate tasks.</p><p>This command will read the ip.txt file using the cat command and pipe the output to the grep command, which filters and displays only the lines containing “64 bytes”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*AsLj0C39A1dvVxZjLH-g2Q.png" /></figure><p>CUT</p><p>Cut is a command-line utility for cutting out sections from each line of input files or piped data.</p><p>The syntax in our usage is:</p><p>cut -d “ “ -f 4</p><p>Here:</p><p>-d specifies the delimiter as a space.</p><p>-f 4 selects the fourth field based on the delimiter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*WkJp4JfDZMlc6VxES-OTmA.png" /></figure><p>In essence, cut helps extract specific parts of each line of input.</p><p>TRANSLATE</p><p>Introducing “tr” command for translation:</p><p>- cat ip.txt | grep “64 bytes” | cut -d “ “ -f 4 | tr “:”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*8lEJp8BjeppSnpoVIVvylw.png" /></figure><p>Here, -d option deletes specified characters, in this case “:”. Some benefits of this are:</p><p>- Removing unwanted characters can help improve data quality, especially if you’re planning to import or analyze the data in other applications.</p><p>- The output may be more compatible with other programs or platforms, which can avoid issues that might arise due to incompatible character sets.</p><p>- Cleaning up data can also be crucial for certain tasks, such as removing specific characters before running a comparison or search operation.</p><p>- Removing unnecessary characters can also help save disk space and improve processing speed, as the data size is reduced.</p><p>In general, cleaning up data can be beneficial in many ways, from improving data quality to reducing processing overhead. Using tr -d is just one method of achieving this.</p><p>MOUSEPAD</p><p>Mousepad for Linux is a simple, lightweight, and customizable notepad application designed for the GNOME desktop environment. Offers a minimalistic interface with essential text editing features, making it ideal for quick note-taking and simple text editing tasks.</p><p>To install mousepad on a Linux system that uses the apt package manager (e.g., Ubuntu, Debian), you can run the following command in the terminal:</p><p>- sudo apt-get install mousepad</p><p>After installation, you can launch mousepad from terminal.</p><p>Take note your prior command cat ip.txt | grep “64 bytes” | cut -d “ “ -f 4 | tr -d “:”</p><p>Launch Mousepad and name it ipsweep.sh</p><p>-Mousepad ipsweeh.sh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*QbmpRKMptA-QfhJyHoTuiA.png" /></figure><p>An IP sweep, also known as an ICMP sweep, is a network scanning technique used to determine which IP addresses in a given range correspond to active hosts (computers) within a network. During an IP sweep, ICMP echo requests (pings) are sent to multiple destination addresses. If a target host replies, its IP address is revealed to the sender.</p><p>IP sweeps are often used by network administrators for network diagnostics and troubleshooting. However, they can also be used by attackers to gather information about a network’s structure and potentially identify vulnerable targets for further attacks.</p><p>Some security devices, like firewalls and intrusion prevention systems, can detect IP sweep attacks based on the number of ICMP echo requests received within a specific time frame. Once an attack is detected, these devices can reject further ICMP packets from the suspicious host for a certain period.</p><p>SHEBANG LINE</p><p>#!/bin/bash is a shebang line commonly found at the beginning of Bash shell scripts. It serves two main purposes:</p><p>- Specifying the interpreter: The shebang line tells the system which interpreter should be used to execute the script. In this case, /bin/bash points to the Bash shell, an essential component of Linux and Unix-like operating systems that is used for executing commands and scripts.</p><p>- Allowing direct execution: When a script file has a shebang line and has been marked as executable (e.g., using chmod +x script.sh), it can be run directly, without needing to specify the interpreter manually. This means you can execute the script simply by typing ./script.sh in the command line.</p><p>Adding the shebang line to a Bash script is considered a good practice, ensuring that the script will be interpreted correctly and can be run directly.</p><p>Insert the following on the first line in mousepad:</p><p>-#!/bin/bash<br>- control + s to save</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*r0LU-SIOLjMZS0uyje5Ztg.png" /></figure><p>Insert the prior command:</p><p>-cat ip.txt | grep “64 bytes” | cut -d “ “ -f 4 | tr -d “:”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*moC0V-1X24MfnTVI5yGI2Q.png" /></figure><p>Now modify the command:</p><p>-ping — c 1 &lt;your_ip_address&gt; | grep “64 bytes” | cut -d “ “ -f 4 | tr -d “:”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*YlWoiue51KxtTCESoKNsdg.png" /></figure><p>Insert the following command on the 3rd line:<br>- for ip in `seq 1 254` ; do<br>Please not that those are not apostrophes. It is the backtick, and it shares the same key as the tilde.</p><p>and on the 5th line insert:<br>- done</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*imKRi7SmoNEauAnw_V07wA.png" /></figure><p>Here’s a step-by-step breakdown of the script you created:</p><p>1. #!/bin/bash: This shebang line specifies the interpreter for the script, which is Bash.</p><p>2. ping -c 1 &lt;your_ip_address first 3 sections.$ip&gt; | grep “64 bytes” | cut -d “ “ -f 4 | tr -d “:”:</p><p>- ping -c 1 &lt;your_ip_address first 3 sections.$ip&gt; sends a single ping request to a specific IP address.</p><p>- grep “64 bytes” filters the ping output to only display lines containing “64 bytes”</p><p>- cut -d “ “ -f 4 extracts the fourth field (IP address) from the filtered ping output.</p><p>- tr -d “:” removes the trailing colon from the extracted IP address.</p><p>3. for ip inseq 1 254; do … done:</p><p>- This is a loop that iterates over a sequence of numbers from 1 to 254.</p><p>- Within each iteration, the loop variable ip takes on the next value in the sequence.</p><p>- In this script, the loop is used to generate IP addresses in the format your_ip_address first 3 sections.$ip and ping them one by one.</p><p>4. ping -c 1 your_ip_address first 3 sections.$ip: Inside the loop, this command pings each generated IP address with a single ping request.</p><p>5. The output of the ping command is piped into the same series of commands used in step 2 to filter and format the output, displaying only the IP addresses that respond to the ping request.</p><p>Overall, this script automates the process of pinging multiple IP addresses in a local network and displaying the responsive ones in a clean format.</p><p>Lastly, insert the follow on line 7 of mousepad:</p><p>- ./ipsweep.sh &lt;your_ip_address first 3 sections&gt;</p><p>-Click control + s to save</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*pWk9_T5bvFr6wzINKX7pdQ.png" /></figure><p>Close out mousepad. Go back to terminal and input the following:</p><p>-chmod +x ipsweep.sh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*iz6BytuqN6h49WOEqU_xnA.png" /></figure><p>By running chmod +x ipsweep.sh, you are changing the permissions of the ipsweep.sh file to make it executable. Here’s a detailed explanation:</p><p>1. chmod is a command used to change the permissions (read, write, execute) of a file or directory in Linux and other Unix-like systems.</p><p>2. +x is a permission option that adds the execute permission to the specified file(s) or directory(ies).</p><p>3. ipsweep.sh is the filename you created in the previous steps, which is the Bash shell script that pings IP addresses in a local network.</p><p>By running chmod +x ipsweep.sh, you are adding the execute permission to the ipsweep.sh script file. This allows you to run the script as a program in the terminal, simply by typing ./ipsweep.sh. If you didn’t make the script executable, you would need to invoke it with bash ipsweep.sh or sh ipsweep.sh instead.</p><p>Time to run ipsweep. Open up terminal and enter the following:</p><p>- ./ipsweep.sh &lt;your_ip_address first 3 sections&gt;</p><p>Run it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*vCC4pU7eS4hTL13yUIvC7g.png" /></figure><p>The ipsweep.sh script pings all possible IP addresses in the range provided , and then filters and displays the IP addresses of devices that respond to the ping requests.</p><p>CONCLUSION</p><p>This guide introduced the essentials of Bash scripting, from creating and executing scripts to performing network diagnostics and text processing. By learning these foundational skills, you are now better equipped to automate tasks and improve your efficiency in a Linux environment. With the ability to write and run scripts, you can streamline your workflow and tackle more advanced projects in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae08edde2c7b" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/scripting-with-bash-ae08edde2c7b">Scripting with Bash</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kali Linux for Beginners]]></title>
            <link>https://systemweakness.com/kali-linux-9996f3fd3eca?source=rss-ad089b0f7fd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9996f3fd3eca</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kali-linux]]></category>
            <dc:creator><![CDATA[FENRIR]]></dc:creator>
            <pubDate>Wed, 12 Jun 2024 14:26:39 GMT</pubDate>
            <atom:updated>2024-06-14T21:10:23.757Z</atom:updated>
            <content:encoded><![CDATA[<p>Kali Linux</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*wBSbu3Ar_zD4bTrc5z75cQ@2x.jpeg" /></figure><p>Kali Linux is a unique Linux distribution explicitly crafted to cater to digital forensics, penetration testing, and ethical hacking requirements. It stands as a potent and popular operating system utilized by cybersecurity professionals, researchers, and enthusiasts worldwide.</p><p>The foundation of Kali Linux is based on Debian Linux. It presents users with a comprehensive array of pre-installed tools and software packages specifically designed for various security testing and hacking purposes.</p><p>Kali Linux’s primary objective is to deliver a robust and all-inclusive platform enabling users to perform security assessments, vulnerability analysis, network scanning, password cracking, wireless security testing, and much more. It features a plethora of tools tailored for web application testing, reverse engineering, exploit development, and secure communication, among others.</p><p>Built with security in mind, Kali Linux comes equipped with features such as full disk encryption, secure shell access, and regular updates, ensuring a safe and up-to-date environment for its users.</p><p>Although Kali Linux serves as a powerful instrument for security professionals, it is vital to use it responsibly and within legal confines. Ethical hacking and security testing must be carried out with appropriate authorization and strict adherence to relevant laws and regulations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*SuEnkRDftfEtLstHt9oqbQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*SVjLWmK1zGdPbFNIpRZR2g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*j0dFRNdnUUlfnvOz9nj0Fw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*cBr-01OqADMJw-lv1Thqmg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*WMOqK-x46Jedaw2AULG-LQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*A9G_t3qDhI6Ix8aM7178Mw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*JDgOLf2W4A_1NBO3TTvrpQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*DlAVkMMdoSzWONgKLacp9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*liNK62QBKI0BHwfkl_wIdw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*Uxon5HxYt5tFdZs5bJRoyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IJ_SsOw0CgY9gv_irqpqqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*Eays9Qu9Oe4r_XIMKMpfjA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*kSA4n4mgLGo8m-BThRZx0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BnBw97AyhL5k20zoQdhctw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*UfZJ1wjMWj6sha0J7QW31A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*hKEW5mGh331CtnSLI3dzXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*JGCd58LoGoenjbq8xv9r9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K9M8UU_3KQKr9vyrr3XVaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*NQtvEHQQXagSATCSRdtUqw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9996f3fd3eca" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/kali-linux-9996f3fd3eca">Kali Linux for Beginners</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>