Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-10-2023 13:04

General

  • Target

    fe21006be0bc93da7054954bbd0ff37fc8ec20c4bb7984234a900589c2d5cbea.exe

  • Size

    217KB

  • MD5

    230ff2e809a0df012a0ef6b12c06bb45

  • SHA1

    084a7dcee5811e821f89b82f7852b9499aafd715

  • SHA256

    fe21006be0bc93da7054954bbd0ff37fc8ec20c4bb7984234a900589c2d5cbea

  • SHA512

    7cd672915fd04ea12f817be3659b0c651982993d5a9973483e7120952110278727ea440a0c80210c3870e0020bdbf754204ca2f85fa985860dd13def81767a11

  • SSDEEP

    3072:wHXDmRZY5duTJMTE1LkX3G2DpoCtPwIvY2MJlRAH0ev54G2T9K:CDoZbJG2wrPwf2uRO0euG2T

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

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 1 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.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 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
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fe21006be0bc93da7054954bbd0ff37fc8ec20c4bb7984234a900589c2d5cbea.exe
    "C:\Users\Admin\AppData\Local\Temp\fe21006be0bc93da7054954bbd0ff37fc8ec20c4bb7984234a900589c2d5cbea.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mqivcheb\
      2⤵
        PID:4756
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\elkxffnr.exe" C:\Windows\SysWOW64\mqivcheb\
        2⤵
          PID:3920
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mqivcheb binPath= "C:\Windows\SysWOW64\mqivcheb\elkxffnr.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe21006be0bc93da7054954bbd0ff37fc8ec20c4bb7984234a900589c2d5cbea.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2708
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mqivcheb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4632
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mqivcheb
          2⤵
          • Launches sc.exe
          PID:2372
        • 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:4176
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 596
          2⤵
          • Program crash
          PID:2004
      • C:\Windows\SysWOW64\mqivcheb\elkxffnr.exe
        C:\Windows\SysWOW64\mqivcheb\elkxffnr.exe /d"C:\Users\Admin\AppData\Local\Temp\fe21006be0bc93da7054954bbd0ff37fc8ec20c4bb7984234a900589c2d5cbea.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2788
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:4976
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2788 -s 524
          2⤵
          • Program crash
          PID:3128
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 5040 -ip 5040
        1⤵
          PID:3484
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 2788 -ip 2788
          1⤵
            PID:436

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.3MB

            MD5

            c2268edc9c534a6bc9c708da6c54b862

            SHA1

            d40b4b098923aed7399954e79bc6770aaa27cf5a

            SHA256

            ce0da3103e7b3415f31776043e587d0d610095d20fd674832110180231e8bc3e

            SHA512

            717389d7cf5c99e3154a8f1be10470c7545a56a7482bd783cbdca1621c32295f2fdce6882c9097ede895bc0dbb607de20389ca291514b86b02908da41c95385c

          • C:\Windows\SysWOW64\mqivcheb\elkxffnr.exe

            Filesize

            13.3MB

            MD5

            c2268edc9c534a6bc9c708da6c54b862

            SHA1

            d40b4b098923aed7399954e79bc6770aaa27cf5a

            SHA256

            ce0da3103e7b3415f31776043e587d0d610095d20fd674832110180231e8bc3e

            SHA512

            717389d7cf5c99e3154a8f1be10470c7545a56a7482bd783cbdca1621c32295f2fdce6882c9097ede895bc0dbb607de20389ca291514b86b02908da41c95385c

          • memory/2788-19-0x0000000000400000-0x00000000005AE000-memory.dmp

            Filesize

            1.7MB

          • memory/2788-12-0x0000000000400000-0x00000000005AE000-memory.dmp

            Filesize

            1.7MB

          • memory/2788-11-0x00000000007B0000-0x00000000008B0000-memory.dmp

            Filesize

            1024KB

          • memory/4976-32-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-36-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-57-0x0000000002DF0000-0x0000000002DF7000-memory.dmp

            Filesize

            28KB

          • memory/4976-56-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4976-13-0x0000000000B40000-0x0000000000B55000-memory.dmp

            Filesize

            84KB

          • memory/4976-53-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4976-17-0x0000000000B40000-0x0000000000B55000-memory.dmp

            Filesize

            84KB

          • memory/4976-16-0x0000000000B40000-0x0000000000B55000-memory.dmp

            Filesize

            84KB

          • memory/4976-18-0x0000000000B40000-0x0000000000B55000-memory.dmp

            Filesize

            84KB

          • memory/4976-52-0x0000000002DE0000-0x0000000002DE5000-memory.dmp

            Filesize

            20KB

          • memory/4976-21-0x0000000000B40000-0x0000000000B55000-memory.dmp

            Filesize

            84KB

          • memory/4976-22-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4976-25-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4976-26-0x00000000021F0000-0x00000000021F6000-memory.dmp

            Filesize

            24KB

          • memory/4976-29-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-49-0x0000000002DE0000-0x0000000002DE5000-memory.dmp

            Filesize

            20KB

          • memory/4976-33-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-34-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-35-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-48-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-37-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-38-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-39-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-40-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-41-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-42-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-43-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-44-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-45-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-46-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4976-47-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/5040-9-0x0000000000400000-0x00000000005AE000-memory.dmp

            Filesize

            1.7MB

          • memory/5040-1-0x0000000000700000-0x0000000000800000-memory.dmp

            Filesize

            1024KB

          • memory/5040-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

            Filesize

            76KB

          • memory/5040-3-0x0000000000400000-0x00000000005AE000-memory.dmp

            Filesize

            1.7MB

          • memory/5040-6-0x0000000000400000-0x00000000005AE000-memory.dmp

            Filesize

            1.7MB

          • memory/5040-10-0x00000000021B0000-0x00000000021C3000-memory.dmp

            Filesize

            76KB