<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Security on Taha Draidia</title><link>https://tahadraidia.com/categories/security/</link><description>Recent content in Security on Taha Draidia</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 28 Jul 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://tahadraidia.com/categories/security/index.xml" rel="self" type="application/rss+xml"/><item><title>Master Your Craft - Tavis Ormandy Analysis on The CrowdStrike Incident</title><link>https://tahadraidia.com/posts/master-your-craft-tavis-ormandy-analysis-on-the-crowdstrike-incident/</link><pubDate>Sun, 28 Jul 2024 00:00:00 +0000</pubDate><guid>https://tahadraidia.com/posts/master-your-craft-tavis-ormandy-analysis-on-the-crowdstrike-incident/</guid><description>Updated 08/07/2024 I received a lot of criticism suggesting I was trying to prove Tavis Ormandy wrong, which is not true. In fact, my entire video and post aim to delve into and support what Tavis explained.
This post discusses how Tavis Ormandy called out misinformation spreading on Twitter. When I referred to &amp;ldquo;the author of the tweet,&amp;rdquo; I meant the person whose tweet Tavis was highlighting. Tavis is well respected in the industry, and I have always expressed my respect and admiration for his work.</description></item><item><title>Alternative to JMP ESP Instruction</title><link>https://tahadraidia.com/posts/alternative-to-jmp-esp/</link><pubDate>Sun, 12 Dec 2021 13:34:28 +0000</pubDate><guid>https://tahadraidia.com/posts/alternative-to-jmp-esp/</guid><description>When it comes to vanilla buffer overflow, JMP ESP instruction is the one you look for when you got control over EIP register.
Now let&amp;rsquo;s assume that DEP is not enabled and due to ASLR and/or JMP ESP addresses contains bad characters, which make those address impossible to use.
We can look for the following assembly instructions instead:
PUSH ESP; RET (54C3) 0:012&amp;gt; u 77c73989 ntdll!ResCDirectoryValidateEntries+0x1805: 77c73989 54 push esp 77c7398a c3 ret CALL ESP; (FFD4) 0:012&amp;gt; u 77c77254 ntdll!</description></item><item><title>Don't Go Phishing Blind, Watch While RunTime</title><link>https://tahadraidia.com/posts/dont-go-phising-blind-watch-while-execution/</link><pubDate>Sat, 04 Dec 2021 11:25:46 +0000</pubDate><guid>https://tahadraidia.com/posts/dont-go-phising-blind-watch-while-execution/</guid><description>Raise your hand if you crafted well your payload and the payload worked well in your lab machines but in the real scenario you&amp;rsquo;re not receiving the callback! I guess all of us at some point have experienced this.
To solve this I wrote a simple and yet effective set of functions that allow us to see what going on while the runtime of our script.
The first function/subroutine, which I called hello simply sends an GET request to a specified server.</description></item><item><title>Identify Weak Service Configuration With One Liner of Powershell</title><link>https://tahadraidia.com/posts/identify-weak-service-configuration-with-oneliner-of-powershell/</link><pubDate>Fri, 03 Dec 2021 09:48:14 +0000</pubDate><guid>https://tahadraidia.com/posts/identify-weak-service-configuration-with-oneliner-of-powershell/</guid><description>One of the features of PEN300 MSF script is lazy privilege escalation, it checks for few common excessive permissions and lack of configuration in certain component of the box.
The missing part was how to identify weak service configuration? the approach was already known, however how to achieve it using MSF Ruby API or Win32 API seemed doomed. MSF Windows Services class relies on sc_manager, this won&amp;rsquo;t work with low privileged user.</description></item><item><title>Automate the Reconnaissance Phase</title><link>https://tahadraidia.com/posts/automate-the-reconnaissance-phase/</link><pubDate>Thu, 02 Dec 2021 07:43:03 +0000</pubDate><guid>https://tahadraidia.com/posts/automate-the-reconnaissance-phase/</guid><description>If you have been reading my OSEP (PEN300) post series, you know that I love automating things, reconnaissance phase is one of the repetitive tasks that you do for each machine you compromise right.
In this post, I am going to share with you how I took advantage of the existing scripts and tools to create let&amp;rsquo;s say a reconnaissance script bundle.
The script is written into Powershell, the language has a rich API and special when it allow us to load .</description></item><item><title>Added RunAsPPL Check to Our PEN300 MSF Script</title><link>https://tahadraidia.com/posts/added-runasppl-check-to-our-pen300-msf-script/</link><pubDate>Wed, 01 Dec 2021 10:21:33 +0000</pubDate><guid>https://tahadraidia.com/posts/added-runasppl-check-to-our-pen300-msf-script/</guid><description>While running some test this morning and stumbled on the following error:
Could not execute auto: Rex::Post::Meterpreter::RequestError priv_passwd_get_sam_hashes: Operation failed: The parameter is incorrect. This occurred while executing right after enabling restricted admin in our MSF script as show in the screenshot.
There are two important points we need to discuss here, first when the error happened, it was not handle hence, the script stop running, this bad.
The second point is what could go wrong right?</description></item><item><title>Taking Advantage of Assembly.GetManifestResourceStream for Quick Dirty Hacks</title><link>https://tahadraidia.com/posts/taking-advantage-of-assembly.getmanifestresourcestream-for-quick-dirty-hacks/</link><pubDate>Wed, 01 Dec 2021 04:32:52 +0000</pubDate><guid>https://tahadraidia.com/posts/taking-advantage-of-assembly.getmanifestresourcestream-for-quick-dirty-hacks/</guid><description>We all get lazy from time to time, but things need to be done, in this post I am going to share with you a dirty hack that I used to avoid translating a solution written in a X programming language to another programming language. The scenario that we are going to cover here is that let&amp;rsquo;s say we wrote a piece of code that does something but requires another tool to achieve the next step of the aimed goal.</description></item><item><title>Make SharpRDP a Loadable .NET Assembly</title><link>https://tahadraidia.com/posts/make-sharprdp-a-loadable-dot-net-assembly/</link><pubDate>Mon, 29 Nov 2021 07:21:19 +0000</pubDate><guid>https://tahadraidia.com/posts/make-sharprdp-a-loadable-dot-net-assembly/</guid><description>SharpRDP in a neat tool when it comes to get a command execution via RDP protocol, The project is written in C# .NET, which makes perfect to leverage .NET Assembly, however, in order to load an assembly the binary needs to expose the API and in this case SharpRDP is build in away that it can only be in traditional way.
If we look at the source code of the project on github, we can clearly see that Program class has internal attributes and the two methods have private attribute.</description></item><item><title>Hello Blog ! My goals for 2018</title><link>https://tahadraidia.com/posts/git--init-blog/</link><pubDate>Thu, 14 Dec 2017 00:00:00 +0000</pubDate><guid>https://tahadraidia.com/posts/git--init-blog/</guid><description>Hello world, welcome to my little paradise, I&amp;rsquo;m Taha Ibrahim DRAIDIA, I&amp;rsquo;m a software developer interested in application security, binary exploitation, exploit developement, ethical hacking and bug bounties. I never wrote a blog before, this my first time, I hope you&amp;rsquo;ll like my writings. Below are the reasons why I decided to start writing a blog:
I used to take notes on text files, they got messy I would like to share what I&amp;rsquo;ve learnt along my journey in computers I would like to increase my writing skills I would like to get feed back about my code, researchs and methodologies I would like to feel more connected with people who share the same interests Here is a list of topics which I&amp;rsquo;ll be writing about:</description></item></channel></rss>