<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hearsay</title>
    <description>The latest articles on DEV Community by Hearsay (@nullcipher2shell).</description>
    <link>https://dev.to/nullcipher2shell</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4225589%2Fb35d1dd4-6307-4750-9dda-0198247b12ed.jpeg</url>
      <title>DEV Community: Hearsay</title>
      <link>https://dev.to/nullcipher2shell</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nullcipher2shell"/>
    <language>en</language>
    <item>
      <title>How passive reconnaissance works on an abandoned machine.</title>
      <dc:creator>Hearsay</dc:creator>
      <pubDate>Sat, 14 Nov 2026 12:48:17 +0000</pubDate>
      <link>https://dev.to/nullcipher2shell/how-passive-reconnaissance-works-on-an-abandoned-machine-4p86</link>
      <guid>https://dev.to/nullcipher2shell/how-passive-reconnaissance-works-on-an-abandoned-machine-4p86</guid>
      <description>&lt;h2&gt;
  
  
  First Contact — BreachLab Ghost Level 0 → 1
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Platform:&lt;/strong&gt; BreachLab&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Track:&lt;/strong&gt; Ghost&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Level:&lt;/strong&gt; 0 → 1&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Challenge Name:&lt;/strong&gt; First Contact&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Category:&lt;/strong&gt; Linux Basics / Reconnaissance&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Points:&lt;/strong&gt; 100 pts + 25 First Blood Bonus&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Date Completed:&lt;/strong&gt; 2026-11-14  &lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Challenge Description
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;The previous analyst left in a hurry.&lt;br&gt;&lt;br&gt;
His terminal is still open. His files — still here.&lt;br&gt;&lt;br&gt;
Find what he left behind.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Goal:&lt;/strong&gt; Retrieve the password for ghost1&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Connect:&lt;/strong&gt; &lt;code&gt;ssh ghost1@204.168.229.209 -p 2222&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topics to read before:&lt;/strong&gt; &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;cat&lt;/code&gt;, &lt;code&gt;cd&lt;/code&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Walkthrough
&lt;/h2&gt;

&lt;p&gt;We have a blank screen in front of us, to first check which directory we are in , we run the &lt;code&gt;pwd&lt;/code&gt; command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/home/ghost0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we try to find some files that may have been left in the open ( as the instructions said ).&lt;br&gt;
We run the command &lt;code&gt;ls&lt;/code&gt; to list all files and directories. We get a file and a directory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;README  workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The README file is just shouting at me to open it , so i do just that using the &lt;code&gt;cat&lt;/code&gt; command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat README
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ANALYST WORKSTATION - KAEL
Last active: 2026-03-28 02:47 UTC
Status : Abandoned

If you're reading this, you found my terminal.
I left in a hurry. Didn't have time to clean up.
Nothing in this shell is hidden. It's just here.
If you can't see it, you're not looking hard enough.
Don't leave traces.
-KAEL.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Well , finally that was something.&lt;br&gt;
So , now we know that everything in this shell is exposed and what we are finding is out in the open and we just have to look properly.&lt;br&gt;
Now , we open up the workspace directory using —&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We list everything with &lt;code&gt;ls&lt;/code&gt;, which gives us —&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;archive  notes.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Let's first open &lt;code&gt;notes.txt&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat notes.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OPERATIONAL NOTES — KAEL
========================
Target: internal network segment 10.4.x.x
Method: passive recon, no active scanning
Status: ongoing

Credentials filed separately in archive/.
Do not store passwords in plaintext notes.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Since it tells us credentials are filed separately in &lt;code&gt;archive/&lt;/code&gt;, we open archive using —&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; archive
ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;credentials
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We open it using —&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat credentials
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We found the password for Ghost1.&lt;/p&gt;

&lt;p&gt;The password was sitting right in the open — no encryption, no obfuscation, just an abandoned workstation with its files left open. KAEL didn't hide anything. He just left.&lt;/p&gt;

&lt;p&gt;The challenge was actually about what you should do whenever faced with any unfamiliar box , your first move shouldn't be running some fancy tools. It's to look at what's already there. &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;cat&lt;/code&gt;, &lt;code&gt;cd&lt;/code&gt; — three commands, and the whole picture unfolds. Every real engagement starts exactly this way.&lt;/p&gt;




&lt;h2&gt;
  
  
  Flag / Answer
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ghost1 password: [stored locally]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Concepts Used
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concept&lt;/th&gt;
&lt;th&gt;What It Is&lt;/th&gt;
&lt;th&gt;Why It Mattered Here&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;pwd&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Prints your current working directory path&lt;/td&gt;
&lt;td&gt;First move on an unfamiliar box — know where you are before you move&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ls&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Lists files and directories at the current location&lt;/td&gt;
&lt;td&gt;Revealed &lt;code&gt;README&lt;/code&gt; and &lt;code&gt;workspace&lt;/code&gt; at each level of the directory tree&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cat&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Displays file contents in the terminal&lt;/td&gt;
&lt;td&gt;Used to read &lt;code&gt;README&lt;/code&gt;, &lt;code&gt;notes.txt&lt;/code&gt;, and &lt;code&gt;credentials&lt;/code&gt; — the core action of this challenge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cd&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Changes your current directory&lt;/td&gt;
&lt;td&gt;Allowed navigation from home → workspace → archive&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Filesystem hierarchy&lt;/td&gt;
&lt;td&gt;Unix organises files in a nested tree of directories&lt;/td&gt;
&lt;td&gt;The credentials were three levels deep — understanding the tree is what made them findable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Passive reconnaissance&lt;/td&gt;
&lt;td&gt;Gathering information by reading what's already present, without active probing&lt;/td&gt;
&lt;td&gt;KAEL left everything in the open — reading existing files is the most basic form of passive recon&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;This level helped me get familiar with basic Linux terminal commands such as "ls", "cd", and "cat" to navigate directories and inspect files. I learned how to explore an unfamiliar machine, identify relevant files, and retrieve information from them rather than randomly guessing where the flag might be.&lt;/p&gt;

&lt;p&gt;I also understood how SSH is used to access a remote machine and how the credentials obtained at one level can be used to progress to the next. More importantly, it reinforced the habit of carefully reading the environment — treating every file, directory name, and piece of leftover context as a potential clue rather than noise.&lt;/p&gt;




&lt;h2&gt;
  
  
  Resources That Helped
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://man7.org/linux/man-pages/man1/ls.1.html" rel="noopener noreferrer"&gt;&lt;code&gt;man ls&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://man7.org/linux/man-pages/man1/cat.1.html" rel="noopener noreferrer"&gt;&lt;code&gt;man cat&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ss64.com/bash/cd.html" rel="noopener noreferrer"&gt;&lt;code&gt;man cd&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ctf</category>
      <category>cybersecurity</category>
      <category>linux</category>
      <category>reconnaissance</category>
    </item>
  </channel>
</rss>
