Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.
' specify the path to a file and this routine will calculate your hash Public Function calcFileHash(ByVal filepath As String) As String ' open file (as read-only) Using reader As New System.IO.FileStream(filepath, IO.FileMode.Open, IO.FileAccess.Read) Using md5 As New System.Security.Cryptography.MD5CryptoServiceProvider ' hash contents of this stream Dim hash() As Byte = md5.ComputeHash(reader) ' return formatted hash Return ByteArrayToString(hash) End Using End Using End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
14 Experts available now in Live!