Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-04-2024 16:51

General

  • Target

    bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe

  • Size

    10.1MB

  • MD5

    bd87e76554e82c653200bfe2c2114355

  • SHA1

    e3cce184cef20580e9af902bd49c5caa5fbf0450

  • SHA256

    96e67d80d9eca5208f9fe6f5cb977453adac57ac026d4c6b4cd640418911483d

  • SHA512

    bd1ebe00cc68a1c16757d1160964dd40a0362f9902244e36b74f41a1322c37fd1c4f7fa9a1767a4a848e3240d8609fd7060ab2f1a313d271748d51e7fb9cdbe4

  • SSDEEP

    196608:QhKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaq:Q

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\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qmgxhlc\
      2⤵
        PID:5112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kzmiutmy.exe" C:\Windows\SysWOW64\qmgxhlc\
        2⤵
          PID:3704
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qmgxhlc binPath= "C:\Windows\SysWOW64\qmgxhlc\kzmiutmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2604
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qmgxhlc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2124
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qmgxhlc
          2⤵
          • Launches sc.exe
          PID:4328
        • 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:5080
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4556 -s 1208
          2⤵
          • Program crash
          PID:4972
      • C:\Windows\SysWOW64\qmgxhlc\kzmiutmy.exe
        C:\Windows\SysWOW64\qmgxhlc\kzmiutmy.exe /d"C:\Users\Admin\AppData\Local\Temp\bd87e76554e82c653200bfe2c2114355_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:380
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 380 -s 512
          2⤵
          • Program crash
          PID:2464
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4556 -ip 4556
        1⤵
          PID:2344
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 380 -ip 380
          1⤵
            PID:4592

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.2MB

            MD5

            75ab93bdf8916858498682626fe8359f

            SHA1

            06a0e7a9d6f6658a66204979eceb64fdc2b4105c

            SHA256

            6c7a4b7c78b6f8898f6082fd7a07c358da87f4949edb739ce8ecf549cf306093

            SHA512

            bb9b527dbaa5653f18784dbc2fd633232a0a8e10dc01bcb6ba35e953164939d0bb9d7cb5bb4b743be569b62607185193303b6c1a0e962dbc68678df745a118e5

          • memory/380-10-0x0000000000AA0000-0x0000000000BA0000-memory.dmp

            Filesize

            1024KB

          • memory/380-17-0x0000000000400000-0x000000000086F000-memory.dmp

            Filesize

            4.4MB

          • memory/380-12-0x0000000000400000-0x000000000086F000-memory.dmp

            Filesize

            4.4MB

          • memory/4056-16-0x0000000000390000-0x00000000003A5000-memory.dmp

            Filesize

            84KB

          • memory/4056-11-0x0000000000390000-0x00000000003A5000-memory.dmp

            Filesize

            84KB

          • memory/4056-18-0x0000000000390000-0x00000000003A5000-memory.dmp

            Filesize

            84KB

          • memory/4056-19-0x0000000000390000-0x00000000003A5000-memory.dmp

            Filesize

            84KB

          • memory/4556-8-0x0000000000400000-0x000000000086F000-memory.dmp

            Filesize

            4.4MB

          • memory/4556-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB

          • memory/4556-4-0x0000000000400000-0x000000000086F000-memory.dmp

            Filesize

            4.4MB

          • memory/4556-1-0x0000000000A70000-0x0000000000B70000-memory.dmp

            Filesize

            1024KB

          • memory/4556-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB