Analysis

  • max time kernel
    150s
  • max time network
    142s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-04-2024 08:12

General

  • Target

    ce3f7efb279c44bf3e7e5aede0b26d5e_JaffaCakes118.exe

  • Size

    13.3MB

  • MD5

    ce3f7efb279c44bf3e7e5aede0b26d5e

  • SHA1

    23bfbf9c0e1e9bd68ca6fc593d1a83e81b8483de

  • SHA256

    89017198e6129785f853d829a30bdaeab8937cdd4ae26406a0c71a25957c414d

  • SHA512

    d49a2f47cc6966c289ed6ad92cffb7b750504626278f5072fa3dc0c198f641cae5d2812d3a29f74eef05f3769c68db6865a2e7d7031692564432f2eafd6441fb

  • SSDEEP

    196608:Z5qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqH:Z

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ce3f7efb279c44bf3e7e5aede0b26d5e_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ce3f7efb279c44bf3e7e5aede0b26d5e_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fnlqhrac\
      2⤵
        PID:4500
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kngomowg.exe" C:\Windows\SysWOW64\fnlqhrac\
        2⤵
          PID:2332
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fnlqhrac binPath= "C:\Windows\SysWOW64\fnlqhrac\kngomowg.exe /d\"C:\Users\Admin\AppData\Local\Temp\ce3f7efb279c44bf3e7e5aede0b26d5e_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fnlqhrac "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fnlqhrac
          2⤵
          • Launches sc.exe
          PID:4920
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:1492
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4192 -s 1224
          2⤵
          • Program crash
          PID:212
      • C:\Windows\SysWOW64\fnlqhrac\kngomowg.exe
        C:\Windows\SysWOW64\fnlqhrac\kngomowg.exe /d"C:\Users\Admin\AppData\Local\Temp\ce3f7efb279c44bf3e7e5aede0b26d5e_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2840
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2368
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2840 -s 536
          2⤵
          • Program crash
          PID:4416
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4192 -ip 4192
        1⤵
          PID:4824
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2840 -ip 2840
          1⤵
            PID:4804

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\kngomowg.exe

            Filesize

            10.8MB

            MD5

            b5ce01e388a910ee8f735d7d4e869e54

            SHA1

            d5347df76e639b9ed4f94fd7bf0a78827736afa1

            SHA256

            e4ff441a5e0d7943e5d282c5b648e73bdfbe53619c3168e9aec0ba3a8bd615a3

            SHA512

            20e09108e9fd43a1668e9e2f7d60f2778395184966e234f19ed1f1fc656e6b27508a42ea27fdf3f9407cd41fbdbbbfa0cc82c69e616bfc78a28981fbac6c863f

          • memory/2368-16-0x00000000002A0000-0x00000000002B5000-memory.dmp

            Filesize

            84KB

          • memory/2368-11-0x00000000002A0000-0x00000000002B5000-memory.dmp

            Filesize

            84KB

          • memory/2368-17-0x00000000002A0000-0x00000000002B5000-memory.dmp

            Filesize

            84KB

          • memory/2368-19-0x00000000002A0000-0x00000000002B5000-memory.dmp

            Filesize

            84KB

          • memory/2840-12-0x0000000000400000-0x0000000000871000-memory.dmp

            Filesize

            4.4MB

          • memory/2840-10-0x0000000000A60000-0x0000000000B60000-memory.dmp

            Filesize

            1024KB

          • memory/2840-18-0x0000000000400000-0x0000000000871000-memory.dmp

            Filesize

            4.4MB

          • memory/4192-4-0x0000000000400000-0x0000000000871000-memory.dmp

            Filesize

            4.4MB

          • memory/4192-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

            Filesize

            76KB

          • memory/4192-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

            Filesize

            76KB

          • memory/4192-8-0x0000000000400000-0x0000000000871000-memory.dmp

            Filesize

            4.4MB

          • memory/4192-1-0x00000000008A0000-0x00000000009A0000-memory.dmp

            Filesize

            1024KB