Analysis

  • max time kernel
    148s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-06-2024 18:24

General

  • Target

    12f63bb5e734c4aa0f9e8862fbd0fd41_JaffaCakes118.exe

  • Size

    12.8MB

  • MD5

    12f63bb5e734c4aa0f9e8862fbd0fd41

  • SHA1

    c9b883f38b7d47a6c15a862df950f76997370295

  • SHA256

    207afd690de9d607fc945e1fbe6c5d40d9569159641a7c52d581a6affb2f3372

  • SHA512

    9e1d7b494738fd7a05978891ee3568943278cf16087da06099359233874e6dc43d58d8ec00704a99fc579e9130ff70e4177580d08855af40e4949d5833085a65

  • SSDEEP

    12288:NdbYJ+lQMgLtAgtiMxyJFJNN0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/:PvQMwRtiMO

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) 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\12f63bb5e734c4aa0f9e8862fbd0fd41_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\12f63bb5e734c4aa0f9e8862fbd0fd41_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\flwfqmzd\
      2⤵
        PID:1580
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wmmmbsyq.exe" C:\Windows\SysWOW64\flwfqmzd\
        2⤵
          PID:3016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create flwfqmzd binPath= "C:\Windows\SysWOW64\flwfqmzd\wmmmbsyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\12f63bb5e734c4aa0f9e8862fbd0fd41_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description flwfqmzd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3964
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start flwfqmzd
          2⤵
          • Launches sc.exe
          PID:1600
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:1044
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4180 -s 1336
          2⤵
          • Program crash
          PID:756
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4180 -s 1316
          2⤵
          • Program crash
          PID:1320
      • C:\Windows\SysWOW64\flwfqmzd\wmmmbsyq.exe
        C:\Windows\SysWOW64\flwfqmzd\wmmmbsyq.exe /d"C:\Users\Admin\AppData\Local\Temp\12f63bb5e734c4aa0f9e8862fbd0fd41_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4308
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2172
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4308 -s 512
          2⤵
          • Program crash
          PID:3992
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4308 -s 540
          2⤵
          • Program crash
          PID:2076
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4180 -ip 4180
        1⤵
          PID:5084
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4180 -ip 4180
          1⤵
            PID:2472
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4308 -ip 4308
            1⤵
              PID:1328
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4308 -ip 4308
              1⤵
                PID:1632

              Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

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

                Filesize

                12.6MB

                MD5

                ebb89095f724013a46d95429bcdce5a4

                SHA1

                acfdb36c5c3cec8af942121cd43068eed70e639c

                SHA256

                2053a1c8b54f72e43e55c7d8003145122d617ad0168b04800ca10a405fa3227d

                SHA512

                8b63a21e5d9cb738973545ddf50e93f9f647cac3931939761f3d0849291e4f2c71e17cd4c6811df60592337d9eb518831e67c0e8e10ba5bf16157e6fcbc5408e

              • memory/2172-11-0x00000000010E0000-0x00000000010F5000-memory.dmp

                Filesize

                84KB

              • memory/2172-13-0x00000000010E0000-0x00000000010F5000-memory.dmp

                Filesize

                84KB

              • memory/2172-15-0x00000000010E0000-0x00000000010F5000-memory.dmp

                Filesize

                84KB

              • memory/4180-1-0x0000000000950000-0x0000000000A50000-memory.dmp

                Filesize

                1024KB

              • memory/4180-3-0x0000000000400000-0x0000000000415000-memory.dmp

                Filesize

                84KB

              • memory/4180-2-0x00000000008E0000-0x00000000008F3000-memory.dmp

                Filesize

                76KB

              • memory/4180-10-0x0000000000400000-0x0000000000415000-memory.dmp

                Filesize

                84KB

              • memory/4180-9-0x00000000008E0000-0x00000000008F3000-memory.dmp

                Filesize

                76KB

              • memory/4180-8-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB

              • memory/4308-14-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB