<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Malware-Analysis on Dag's home</title><link>https://dag7.it/tags/malware-analysis/</link><description>Recent content in Malware-Analysis on Dag's home</description><generator>Hugo</generator><language>en</language><managingEditor>dag7+ifyourenotallmpleaseremovethis@protonmail.com (Dag)</managingEditor><webMaster>dag7+ifyourenotallmpleaseremovethis@protonmail.com (Dag)</webMaster><lastBuildDate>Mon, 20 Oct 2025 03:48:00 +0200</lastBuildDate><atom:link href="https://dag7.it/tags/malware-analysis/index.xml" rel="self" type="application/rss+xml"/><item><title>Reverse Engineering la luce in fondo al tunnel, prima dell'abisso</title><link>https://dag7.it/posts/2025-10-20-re/</link><pubDate>Mon, 20 Oct 2025 03:48:00 +0200</pubDate><author>dag7+ifyourenotallmpleaseremovethis@protonmail.com (Dag)</author><guid>https://dag7.it/posts/2025-10-20-re/</guid><description>&lt;p&gt;Caro Dag del 2013,&lt;/p&gt;
&lt;p&gt;finalmente sei riuscito a coronare uno dei tuoi sogni nel cassetto: riuscire a saper comprendere o quantomeno leggere un codice assembly per poterci mettere le mani sopra e manipolarlo a tuo piacimento.&lt;/p&gt;
&lt;p&gt;Sono le 3 e 45, e finalmente dopo un tour de force durato 3 giorni, posso dire che ho concluso la lettura del manuale &lt;del&gt;di magia nera&lt;/del&gt; &amp;ldquo;Practical Malware Analysis&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;YEEEEEEEEEE 🎉&lt;/p&gt;
&lt;p&gt;Tecnicamente ho barato: alcuni hands-on non li ho fatti, mentre alcuni capitoli li ho saltati. Mi giustifico dicendo che a breve termine non mi servono, promettendomi di tornarci in un secondo momento con più calma. I capitoli più avanzati, a differenza dei primi, più semplici, sono quelli più interessanti e che permettono di scovare più malware da un punto di vista pratico.&lt;/p&gt;
&lt;p&gt;Ma volevo fare una mini recensione!&lt;/p&gt;
&lt;p&gt;Avete presente quando vorreste un bel manuale che vi spieghi per filo e per segno cosa dovete fare? Ecco, questo è perfetto sotto questo punto di vista: &lt;strong&gt;spiegazioni chiare e semplici, con una serie di esercizi allegati, con tanto di soluzione commentata passo passo&lt;/strong&gt;. Non mi sorprende affatto che sia considerato come testo di riferimento: sarà anche molto vecchio e alcuni dei tool al quale fa riferimento sono stati sostituiti da cose più aggiornate, ma le basi a distanza di anni sono rimaste quelle.&lt;/p&gt;
&lt;p&gt;Tra i contro invece mettiamo l&amp;rsquo;essere scritto in bianco e nero (a volte le cose con riquadri e colori si capiscono di più), ma soprattutto il fatto di essere rimasto fermo a Windows XP. Da un lato il fatto che il libro risulti ancora attuale è molto bello. Dall&amp;rsquo;altro però, &lt;strong&gt;alcuni esempi non funzionano&lt;/strong&gt;. Ho speso circa 3 ore una sera per poi sorprendermi che non c&amp;rsquo;era soluzione all&amp;rsquo;esercizio che stavo facendo, se non usare una vecchia VM con Windows XP.&lt;/p&gt;
&lt;p&gt;Dunque ho scelto di leggere questo manuale per &lt;del&gt;passare un esame universitario&lt;/del&gt; ma anche perché questo argomento mi è sempre piaciuto e non ho mai avuto modo di approndirlo.&lt;/p&gt;
&lt;p&gt;C&amp;rsquo;è un ma: fare reverse engineering, soprattutto di malware, richiede una base di conoscenza di Assembly (nel manuale viene spiegato), e di come si programma in generale. Ai tempi non sapevo programmare, &lt;em&gt;figuriamoci&lt;/em&gt; fare le operazioni al contrario&amp;hellip;&lt;/p&gt;
&lt;p&gt;È assolutamente impensabile pensare di seguire un manuale del genere senza saper programmare, o senza fare gli hands-on.&lt;/p&gt;
&lt;p&gt;C&amp;rsquo;è una bella differenza tra il leggere e il fare, e questo Feynman lo sapeva molto bene.&lt;/p&gt;
&lt;p&gt;Ad ogni modo, gli esempi sul libro sono molto didattici. Vorrei riuscire a preparare una sorta di videolezioni fatte da me, perché si trovano in giro in inglese ma non in italiano. È vero che viviamo nel 2025, dove le traduzioni automatiche sono all&amp;rsquo;ordine del giorno, ma mi piacerebbe riuscire comunque a portare questo argomento su un canale YouTube.&lt;/p&gt;
&lt;p&gt;Inoltre&amp;hellip; &lt;strong&gt;ho preso tantissimi appunti usando Obsidian!&lt;/strong&gt; Proprio non mi capitava di prendere così tanti appunti da un sacco di tempo. È bello arrivare a fine giornata con tante cose apprese e scritte, a mo&amp;rsquo; di diario.&lt;/p&gt;
&lt;p&gt;Il mondo dei malware e del reverse engineering è un mondo mistico fatto di sigle, di misure antireverse, e di tanto, tanto codice Assembly. Sicuramente fare l&amp;rsquo;esame è stata una buona motivazione, ma non mi sarei mai concentrato così tanto ad approfondire.&lt;/p&gt;
&lt;p&gt;Sono stati tre giorni incredibili dove ho imparato tantissime cose, e non vedo l&amp;rsquo;ora di metterle in pratica, magari cominciando a fare i crack-me o altre sfide online, sino ad arrivare ai sample degli esami.&lt;/p&gt;</description></item><item><title>The rabbit hole of being curious</title><link>https://dag7.it/posts/the-rabbit-hole-of-being-curious/</link><pubDate>Sun, 20 Oct 2024 00:00:00 +0000</pubDate><author>dag7+ifyourenotallmpleaseremovethis@protonmail.com (Dag)</author><guid>https://dag7.it/posts/the-rabbit-hole-of-being-curious/</guid><description>&lt;h1 id="starting-a-new-academic-year"&gt;Starting a new academic year&lt;/h1&gt;
&lt;p&gt;A new academic year has started. Well, not today, but a month ago.&lt;/p&gt;
&lt;p&gt;Geez, time flies.&lt;/p&gt;
&lt;p&gt;It is strange how every academic year feels like the first one but with the knowledge of the previous ones. It is like a new game plus, but with the same character and more skills: scared of the unknown, but with the knowledge of the past.&lt;/p&gt;
&lt;p&gt;Anyway, here&amp;rsquo;s the story: I&amp;rsquo;ve started some brand new courses. I always have been curious about the world, especially for the things that are related in my field of study.&lt;/p&gt;
&lt;p&gt;Informatics is divided into many branches, but I think the major ones are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Backend programming&lt;/strong&gt;: the part of the software that is not visible to the user, you know, &amp;ldquo;the magic under the hood&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Frontend programming&lt;/strong&gt;: the part of the software that is visible to the user, the &amp;ldquo;part that the user sees&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DevOps&lt;/strong&gt;: the part of the software that is related to the deployment and the maintenance of the software, fundamental skill for a developer, but also for a system administrator&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Security&lt;/strong&gt;: the part of the software that is related to the security of the software, the &amp;ldquo;part that keeps the software safe&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;During the years, I&amp;rsquo;ve explored many of these branches, I&amp;rsquo;m currently working as a backend developer and DevOps, but &lt;strong&gt;I&amp;rsquo;ve always been interested in the security part&lt;/strong&gt;. It is fascinating how a software can be secure or not, and how a software can be exploited by a malicious user.&lt;/p&gt;
&lt;p&gt;Because, after all, &lt;strong&gt;user is the most unpredictable&lt;/strong&gt; part of the software.&lt;/p&gt;
&lt;p&gt;Knowing how to write a good and a bad software is a fundamental skill. Knowing how to break it, it is even more important because you can understand how to protect it and how to write a more secure software.&lt;/p&gt;
&lt;h2 id="the-rabbit-hole"&gt;The rabbit hole&lt;/h2&gt;
&lt;p&gt;Yesterday I got up in the morning, and started to study like a fool. I was highly demotivated: this is related to the fact that I&amp;rsquo;ve attempted a couple of exams in the past, and I&amp;rsquo;ve failed them. I&amp;rsquo;ve studied a lot, but I&amp;rsquo;ve failed them.&lt;/p&gt;
&lt;p&gt;I was demotivated, but I&amp;rsquo;ve decided to try again.&lt;/p&gt;
&lt;p&gt;This time is different: I&amp;rsquo;ve started to study two courses, one about the security of the software and the other one is about malware analysis.&lt;/p&gt;
&lt;p&gt;It is impossible to explain how much I&amp;rsquo;m enjoying them: the stuff is exactly what I was looking for years, but I never dared to study by myself, because I was scared of its complexity.&lt;/p&gt;
&lt;p&gt;Well, &lt;strong&gt;they are not easy&lt;/strong&gt;: they are definitely not easy, but I don&amp;rsquo;t think they are impossible, and being in an universitarian environment, I can ask for help if I need it or if I&amp;rsquo;m stuck, while alone at home, I cannot ask for help, and I&amp;rsquo;m stuck with my thoughts.&lt;/p&gt;
&lt;p&gt;So, until now, I&amp;rsquo;ve been studying a lot, and I&amp;rsquo;ve learned a lot of things.&lt;/p&gt;
&lt;p&gt;Everytime I&amp;rsquo;ve finished a lesson, I had a dopamine rush, and I wanted to know more about it, in particular by consuming videos and articles.&lt;/p&gt;
&lt;p&gt;It would be a good idea:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;to write some articles about security and malware analysis, what I&amp;rsquo;m learning, to not forget them&lt;/li&gt;
&lt;li&gt;update my notes with the new things I&amp;rsquo;m learning&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="on-curiosity"&gt;On Curiosity&lt;/h2&gt;
&lt;p&gt;I will never understand why I get in love with things I don&amp;rsquo;t know. When I grasp a new concept, I feel like I&amp;rsquo;m in love with it, and I want to know more about it, but this is applied to every unknown field and leads me to a rabbit hole of curiosity.&lt;/p&gt;
&lt;p&gt;Unfortunately the time is limited, and I cannot explore everything I want with the depth I want.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m a curious person, and I will always be.&lt;/p&gt;
&lt;p&gt;xoxo, Damiano&lt;/p&gt;
&lt;p&gt;p.s. very soon I will start in reading &amp;ldquo;Atomic Habits&amp;rdquo; by James Clear, I&amp;rsquo;ve heard a lot of good things about it, and I&amp;rsquo;m curious to know more about it. I will write an article about it, for sure.&lt;/p&gt;
&lt;p&gt;p.p.s. I&amp;rsquo;m so happy that I&amp;rsquo;ve finally have found some time to write an article: it makes me feel good.&lt;/p&gt;</description></item></channel></rss>