Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2024 15:05

General

  • Target

    f3bd0e796e1c1b59bde69cecbde26000_JaffaCakes118.exe

  • Size

    14.3MB

  • MD5

    f3bd0e796e1c1b59bde69cecbde26000

  • SHA1

    a3d3bd7e6d987e6cf93c97d80d86b68d2be90af8

  • SHA256

    0debd985cd0fff7744ed3165078a38bcb30b0b064ddb5b006d84f2751e0d50f9

  • SHA512

    32a1ffa73aad3303d3de5bd8766c73d8367c6e1476218df2bd801c2729e34fdacd730e34d6dc5d734d50137cc0db5e8ad0b171d63a3120d4a1b22dccd5193fb3

  • SSDEEP

    3072:DlIKxNiT/X910MzPvrmJXOWYL1DyHSHbfTYBDsopr7p85KzqyROF5LevXZUmoBZ2:DlIKziTP910Uwq1uH4gBDs8BgRn2x

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\f3bd0e796e1c1b59bde69cecbde26000_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3bd0e796e1c1b59bde69cecbde26000_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dwoflsxz\
      2⤵
        PID:2268
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sfwfxkmg.exe" C:\Windows\SysWOW64\dwoflsxz\
        2⤵
          PID:4520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dwoflsxz binPath= "C:\Windows\SysWOW64\dwoflsxz\sfwfxkmg.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3bd0e796e1c1b59bde69cecbde26000_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:864
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dwoflsxz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dwoflsxz
          2⤵
          • Launches sc.exe
          PID:1352
        • 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:4244
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1404 -s 1196
          2⤵
          • Program crash
          PID:1992
      • C:\Windows\SysWOW64\dwoflsxz\sfwfxkmg.exe
        C:\Windows\SysWOW64\dwoflsxz\sfwfxkmg.exe /d"C:\Users\Admin\AppData\Local\Temp\f3bd0e796e1c1b59bde69cecbde26000_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2608
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4880
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2608 -s 532
          2⤵
          • Program crash
          PID:4852
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1404 -ip 1404
        1⤵
          PID:4708
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2608 -ip 2608
          1⤵
            PID:1832

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.2MB

            MD5

            2483d412416be277cc6987cb86cbdeb6

            SHA1

            8db43b4bcef87853e10198bbb829a77551ef1bf1

            SHA256

            e4b4ecd4b494011c54e18fcd407d4ed5d78dbc51e10a51d40319f136dd75520a

            SHA512

            dbb0bfce7e683594598900db86fe19c37ceaef751fddd3608ca0ae610bfe5f8632d52056f7019a9728b19c3adf1b2f1fd6683bf2e0e0c4517a7c79ff5916ba45

          • memory/1404-2-0x0000000000520000-0x0000000000533000-memory.dmp

            Filesize

            76KB

          • memory/1404-1-0x0000000000590000-0x0000000000690000-memory.dmp

            Filesize

            1024KB

          • memory/1404-3-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/1404-8-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/1404-9-0x0000000000520000-0x0000000000533000-memory.dmp

            Filesize

            76KB

          • memory/2608-10-0x00000000006D0000-0x00000000007D0000-memory.dmp

            Filesize

            1024KB

          • memory/2608-11-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/2608-17-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/4880-12-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/4880-15-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/4880-16-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/4880-18-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/4880-19-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB