mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-25 12:55:28 +00:00
f2ac1ece55
add
46 lines
1.5 KiB
C#
46 lines
1.5 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Microsoft.InfoCards.EncryptedObjectHeader
|
|
// Assembly: infocard, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
|
// MVID: ADE0A079-11DB-4A46-8BDE-D2A592CA8DEA
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Virus.Win32.Expiro.w-1f15ee7e9f7da02b6bfb4c5a5e6484eb9fa71b82d3699c54bcc7a31794b4a66d.exe
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Microsoft.InfoCards
|
|
{
|
|
[StructLayout(LayoutKind.Explicit, Size = 72)]
|
|
internal struct EncryptedObjectHeader
|
|
{
|
|
public const int StructSize = 72;
|
|
public const int IVBlockSize = 32;
|
|
public const int IVOffset = 0;
|
|
public const int GlobalIdOffset = 32;
|
|
public const int LastChangeOffset = 48;
|
|
public const int DataSizeOffset = 56;
|
|
public const int ObjectTypeOffset = 60;
|
|
public const int LocalIdOffset = 64;
|
|
public const int TailPaddingOffset = 68;
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
|
|
[FieldOffset(0)]
|
|
public byte IV;
|
|
[MarshalAs(UnmanagedType.Struct)]
|
|
[FieldOffset(32)]
|
|
public GlobalId GlobalId;
|
|
[MarshalAs(UnmanagedType.I8)]
|
|
[FieldOffset(48)]
|
|
public long LastChange;
|
|
[MarshalAs(UnmanagedType.I4)]
|
|
[FieldOffset(56)]
|
|
public int DataSize;
|
|
[MarshalAs(UnmanagedType.I4)]
|
|
[FieldOffset(60)]
|
|
public int ObjectType;
|
|
[MarshalAs(UnmanagedType.I4)]
|
|
[FieldOffset(64)]
|
|
public int LocalId;
|
|
[MarshalAs(UnmanagedType.I4)]
|
|
[FieldOffset(68)]
|
|
private int TailPadding;
|
|
}
|
|
}
|