Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 11:26

General

  • Target

    f5a99263467440a04da884e37b581577_JaffaCakes118.exe

  • Size

    14.2MB

  • MD5

    f5a99263467440a04da884e37b581577

  • SHA1

    58c016d9dae50898c03dc602997db96b14fbc2fe

  • SHA256

    bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2

  • SHA512

    b5255af60ca12756011398e5907ef6587cd9ea77401b55b30c0812c2c616ab492eff9d2bba6c5a7ba7732e2f4f0eba80d702bb0d98e767499d182219e16f45af

  • SSDEEP

    196608:H4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTH:H

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\f5a99263467440a04da884e37b581577_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f5a99263467440a04da884e37b581577_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xsmusoku\
      2⤵
        PID:4208
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oiekvfxd.exe" C:\Windows\SysWOW64\xsmusoku\
        2⤵
          PID:3108
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xsmusoku binPath= "C:\Windows\SysWOW64\xsmusoku\oiekvfxd.exe /d\"C:\Users\Admin\AppData\Local\Temp\f5a99263467440a04da884e37b581577_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2976
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xsmusoku "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2980
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xsmusoku
          2⤵
          • Launches sc.exe
          PID:2216
        • 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:2992
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4784 -s 1312
          2⤵
          • Program crash
          PID:780
      • C:\Windows\SysWOW64\xsmusoku\oiekvfxd.exe
        C:\Windows\SysWOW64\xsmusoku\oiekvfxd.exe /d"C:\Users\Admin\AppData\Local\Temp\f5a99263467440a04da884e37b581577_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3296
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1388
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3296 -s 344
          2⤵
          • Program crash
          PID:3464
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4784 -ip 4784
        1⤵
          PID:212
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3296 -ip 3296
          1⤵
            PID:1248

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.2MB

            MD5

            5ffbacbb73c5b952964e73a9953f2fac

            SHA1

            c334608d1235aca71400630d22bc1abc2249d2bd

            SHA256

            deae04aef828fd927fcb777a7e6d33c73d854ea9aba770076e940540fc23ad96

            SHA512

            af3355c73a999c2bea9500b1c9b973c09b1d16d9cbbbba646059588e0a3f0a33407612e880cc9f3c2a2a597cd198b037089991f0ab5fb2a6ea8d331c2297c125

          • memory/1388-15-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/1388-11-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/1388-16-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/1388-18-0x0000000000E20000-0x0000000000E35000-memory.dmp

            Filesize

            84KB

          • memory/3296-10-0x0000000000AF0000-0x0000000000BF0000-memory.dmp

            Filesize

            1024KB

          • memory/3296-12-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

          • memory/3296-17-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

          • memory/4784-4-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

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

            Filesize

            76KB

          • memory/4784-8-0x0000000000400000-0x0000000000870000-memory.dmp

            Filesize

            4.4MB

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

            Filesize

            76KB

          • memory/4784-1-0x0000000000A60000-0x0000000000B60000-memory.dmp

            Filesize

            1024KB