quinta-feira, 25 de maio de 2023

Stop Using MD-5, Now!

TL;DR: Don't use MD-5 to identify malware samples. Believe me, it is a bad idea. Use SHA-256 or a stronger hash function.

This post is dedicated to all malware researchers, still using MD-5 to identify malware samples.

Before deep-diving into the details, let me explain my view on this topic. Whenever you want to identify a malware, it is only OK to publish the MD-5 hash of the malware if you post at least the SHA-256 hash of the malware as well. Publishing only the MD-5 hash is unprofessional. If you want to understand why, please continue reading. If you know about the problem, but want to help me spread the word, please link to my site www.stopusingmd5now.com.

By writing articles/posts/etc. and publishing the MD-5 hash only, it is the lesser problem that you show people your incompetency about hash functions, but you also teach other people to use MD-5. And it spreads like a disease... Last but not least, if I find a sample on your blog post, and you use MD-5 only, I can't be sure we have the same sample.

Here is a list to name a few bad examples (order is in Google search rank order):


Introduction to (cryptographic) hash functions

A long time ago (according to some sources since 1970) people started designing hash functions, for an awful lot of different reasons. It can be used for file integrity verification, password verification, pseudo-random generation, etc. But one of the most important properties of a cryptographic hash function is that it can "uniquely" identify a block of data with a small, fixed bit string. E.g., malware can be identified by using only the hash itself, so everybody who has the same malware sample will have the same hash; thus they can refer to the malware by the hash itself.

It is easy to conclude that there will always be collisions, where a different block of data has the same result hashes. The domain (block of data) is infinite, while the codomain (possible hash values) is finite. The question is how easy it is to find two different blocks of data, having the same hash. Mathematicians call this property "collision resistance." Proper cryptographic hash functions are collision-resistant, meaning it is impractical or impossible to find two different blocks of data, which have the same hash.

In 1989 Ronald Rivest (the first letter in the abbreviation of the RSA algorithm) designed the MD-2 hashing algorithm. Since 1997 there are publications about that this hashing algorithm is far from perfect.

In 1990 Ronald Rivest designed the MD-4 algorithm, which is considered as broken at least from 1991. But MD-4 is still in use from Windows XP until Windows 8 in the password protocol (NTLM). Unfortunately, there are more significant problems with NTLM besides using MD-4, but this can be the topic of a different blog post.

In 1991 (you might guess who) designed yet another hashing algorithm called MD-5, to replace MD-4  (because of the known weaknesses). But again, in from 1993 it has been shown many times that MD-5 is broken as well. According to Wikipedia, "On 18 March 2006, Klima published an algorithm [17] that can find a collision within one minute on a single notebook computer, using a method he calls tunneling". This means, that with the 8 years old computing power of a single notebook one can create two different files having the same MD-5 hash. But the algorithms to generate collisions have been improved since, and "a 2013 attack by Xie Tao, Fanbao Liu, and Dengguo Feng breaks MD-5 collision resistance in 2^18 time. This attack runs in less than a second on a regular computer." The key takeaway here is that it is pretty damn hard to design a secure cryptographic hash function, which is fast, but still safe. I bet that if I would develop a hash function, Ron would be able to hack it in minutes.

Now, dear malware researcher, consider the following scenario. You as, a malware analyst, find a new binary sample. You calculate the MD-5 hash of the malware, and Google for that hash. You see this hash value on other malware researchers or on a sandbox/vendor's site. This site concludes that this sample does this or that, and is either malicious or not. Either because the site is also relying solely on MD-5 or because you have only checked the MD-5 and the researcher or sandbox has a good reputation, you move on and forget this binary. But in reality, it is possible that your binary is totally different than the one analyzed by others. The results of this mistake can scale from nothing to catastrophic.

If you don't believe me, just check the hello.exe and erase.exe on this site from Peter Sellinger. Same MD-5, different binaries; a harmless and a (fake) malicious one... And you can do the same easily at home. No supercomputers,  no NSA magic needed.

On a side-note, it is important to mention that even today it can be hard to find a block of data (in generic), if only the MD-5 hash is known ("pre image resistance"). I have heard people arguing this when I told them using MD-5 as a password hash function is a bad idea. The main problem with MD-5 as a password hash is not the weaknesses in MD-5 itself, but the lack of salt, lack of iterations, and lack of memory hardness. But still, I don't see any reason why you should use MD-5 as a building block for anything, which has anything to do with security. Would you use a car to drive your children to the school, which car has not been maintained in the last 23 year? If your answer is yes, you should neither have children nor a job in IT SEC.

Conclusion

If you are a malware researcher, and used MD-5 only to identify malware samples in the past, I suggest to write it down 1000 times: "I promise I won't use MD-5 to identify malware in the future."

I even made a website dedicated to this problem, www.stopusingmd5now.com . The next time you see a post/article/whatever where malware is identified by the MD-5 hash only, please link to this blog post or website, and the world will be a better and more professional place.


PS: If you are a forensics investigator, or software developer developing software used in forensics, the same applies to you.
PS 2: If you find this post too provocative and harsh, there is a reason for this ...

Update: I have modified two malware (Citadel, Atrax) with the help of HashClash, and now those have the same MD-5. Many thanks for Marc Stevens for his research, publishing his code, and help given during the collision finding.
Continue reading

The Hero’s Tale: The Tale Of The Bell Tower Drakes By Mark Hansen, TTRPG Adventure Review

 


When Og went to ring the library's bell in the morning, he discovered they had an infestation of drakes. Although he is a strong, and determined, man, and drakes were smaller than their more well-known cousins, Og knew he was no match for those nesting in the belfry. He would let the master know about it so they could get a band of adventurers to take care of the problem.

The Tale of the Bell Tower Drakes is an adventure written for The Hero's Tale tabletop roleplaying game (TTRPG). I received a copy from the author for review purposes.

The Hero's Tale

The Hero's Tale is an independent TTRPG that uses its own system. You can read my review of the gamebook by following this link (review).

The Hero's Tale was designed by Mark, Brendon, and Jacob Hansen. This father and two sons wanted a family-oriented game that was driven more by story. Mark also writes novelizations of the characters introduced in the basic book for the introductory adventure.

I had the opportunity to talk with Mark about their game, books, and other things he is involved in. You can watch the video on YouTube (link).

The Adventure

The Tale of the Bell Tower Drakes adventure is for novice-tier adventurers. Along with being for beginning adventurers, it is written in a manner to make it easier to access for less experienced players and game masters (narrator in this system). Throughout the adventure there are notes and commentary to help guide the narrator on how to develop the story based on the input from the player characters and the ever so random dice. This isn't a railroading of how the adventure should conclude, but advice for how to keep things moving. This includes multiple ways the adventure can be resolved.

To help make the adventure more accessible to the players the hook is well established through the characters' adventurer's guild, The Guild of the Drunken Sword. The guild is in the city of Twynn Rivers. Some general information about the city is given to allow further exploration by the narrator and the players. There is also a concluding hook to the adventure to allow the party to continue the story.

The adventure takes place over six scenes. These include character interactions, exploration, and combat. But the game is written with an emphasis for everyone to be involved in the creation of the story, and the adventure is written towards the interaction of all the players.

Along with providing some information about the city, Bell Tower Drakes includes an adventuring party of non-player characters (NPCs), and other tools for use by the narrator. The characters are fully developed and are there to create more problems for the player characters. However, they are also a nice addition for possible future encounters in the city, or if a player character is lost during the adventure a narrator may have one of the NPCs defect to help the party—allowing the player to continue the adventure.

The adventure also includes some of the resources that would be found in the main game book for quicker, easier reference to keep the flow of the game going.

Bell Tower Drakes should be able to be completed in one or two gaming sessions.


Overall

The Tale of the Bell Tower Drakes continues the feel of play presented in The Hero's Tale book and introductory adventure. The adventure is easy to read and provides enough support advice to answer a number of situations that would most likely arise during the gaming session.

The Tale of the Bell Tower Drakes could easily be adapted for other gaming systems. This is due to the main mechanics of the game being focused on the story creation.

The content of the work, both in words and in pictures, all agree with the general desire to have a gaming system that is family friendly.

I recommend The Tale of the Bell Tower Drakes to those who enjoyed the introductory adventure in the game book, and to those who are looking for a fantasy setting that could be introduced to younger gamers.

Here are the links to the items mentioned above in the article.

The Hero's Tale: Fantasy Role Playing for Family and Friends (Review).

A video chat with Mark Hansen (YouTube link).

The Tale of the Bell Tower Drakes is available on Amazon.

 

 I'm working at keeping my material free of subscription charges by supplementing costs by being an Amazon Associate and having advertising appear. I earn a fee when people make purchases of qualified products from Amazon when they enter the site from a link on Guild Master Gaming and when people click on an ad. If you do either, thank you.

If you have a comment, suggestion, or critique please leave a comment here or send an email to guildmastergaming@gmail.com.

I have articles being published by others and you can find most of them on Guild Master Gaming on Facebook and Twitter (@GuildMstrGmng), and Instagram (danyocom). There are also videos on my YouTube Channel (@danielyocom5714).

You can also find out more about what I do at guildmastergaming.com.


Mark Hansen



quinta-feira, 18 de maio de 2023

<> cheap whitehat monthly SEO Plans <>

Hello

I`ve just checked your website and saw that it could really use a boost

if you ever should choose to consider a SEO strategy for your website,
kindly check our plans here
https://www.cheapseoagency.co/cheap-seo-packages/

thanks and regards
Cheap SEO Agency









Unsubscribe:
https://mgdots.co/unsubscribe/

sexta-feira, 12 de maio de 2023

investment opportunity

Do you want to be making money from the comfort of your home?

With my business strategy on stock and crypto trading, I can guarantee you can make up to $25k daily if you have the time and resources to invest.

Get back to me for more information if you are interested.

Thanks

James.

quinta-feira, 11 de maio de 2023

Investment opportunity

Do you want to be making money from the comfort of your home?

With my business strategy on stock and crypto trading, I can guarantee you can make up to $25k daily if you have the time and resources to invest.

Get back to me for more information if you are interested.

Thanks

James.

Investment opportunity

Do you want to be making money from the comfort of your home?

With my business strategy on stock and crypto trading, I can guarantee you can make up to $25k daily if you have the time and resources to invest.

Get back to me for more information if you are interested.

Thanks

James.

Investment opportunity

Do you want to be making money from the comfort of your home?

With my business strategy on stock and crypto trading, I can guarantee you can make up to $25k daily if you have the time and resources to invest.

Get back to me for more information if you are interested.

Thanks

James.

quarta-feira, 10 de maio de 2023

Investment opportunity

Do you want to be making money from the comfort of your home?

With my business strategy on stock and crypto trading, I can guarantee you can make up to $25k daily if you have the time and resources to invest.

Get back to me for more information if you are interested.

Thanks

James.

Investment opportunity

Do you want to be making money from the comfort of your home?

With my business strategy on stock and crypto trading, I can guarantee you can make up to $25k daily if you have the time and resources to invest.

Get back to me for more information if you are interested.

Thanks

James.

sexta-feira, 17 de fevereiro de 2023

Re:[2] Good morning

Good morning [nvsntq]
E-mail database at the lowest prices [rklzvklk]
Our E-mail new.bussines.year@gmail.com [wroho]
To unsubscribe, send us an email with the subject 'unsubscribe' [qmxnkvm]

sábado, 3 de setembro de 2022

<> Negative SEO Services <>

Hi!

If you ever need Negative SEO Serrvices, we offer it here
https://www.n-seo.co











Unsubscribe:
https://mgdots.co/unsubscribe/

terça-feira, 23 de agosto de 2022

Hi..

Dear Friend,

 

I have a business to share with you. I will enclose the proposal for your reference as soon as I receive your response.

 

Regards

sábado, 13 de agosto de 2022

Loan offer.

May I ask how you approach funding of projects/deals?

For over 25 years as a direct private lender, We've provided secured and unsecured loans to CRE investors with viable projects who are experiencing difficulty in obtaining financing via conventional channels. If your business is organized and needs capital, we can provide a business or personal loan for your projects.

I'd love to discuss your current goals and see if we can help you get your desired funding needs.

Let me know your thoughts.

Thanks,

Online Agent

Ruggiero Leonardo

domingo, 7 de agosto de 2022

Re:(5) Business offer / Бизнес предложение

To unsubscribe, send us an email with the subject 'unsubscribe'[jsjyerly]
We offer e-mail databases at affordable prices.[ztumt]
For marketing, advertising, newsletters.[orvwjpffpj]
This is the most effective way to attract customers for your business.[zoxmuty]
Country: Number of e-mail addresses >[pmqyynmqlwxr]
RU : 8,1 million[ynpwmssur]
AU : 3,6 million[unopo]
CA : 3,3 million[xni]
DE : 8,3 million[kxidbwk]
FR : 2,7 million[rlwr]
NZ : 0,7 million[utmrs]
UK : 6,6 million[uquvrwkyw]
US : 1,9 million[icpuniruc]
COM 55,1 million[dhuzdwpntmi]
ALL WORLD 250 million cgqjhxhkspw]
In addition, we can provide a base for any country in the world.[tkyuwmsk]
We provide individual online training on e-mail marketing.[ohhqvmvows]
 
We create sites under the order of any complexity.[mex]
We have extensive experience in developing and writing dating websites and affiliate programs.[utvwlpwq]

Details by e-mail: new.bussines.year@gmail.com [zxoynjgpugui]
Чтобы отписаться от рассылка, отправьте нам письмо с темой 'отписаться' [kwkzkvwn]
Предлагаем e-mail базы по доступным ценам. [woxkjtunmtis]
Для маркетинговых, рекламных, рассылок. [prlqluisg]
Это самый эффективный способ привлечения клиентов для Вашего бизнеса. [ivkd]
Страна : Кол-во е-майл адресов[tvriqsvph]
RU : 8,1 млн.[ixnv]
AU : 3,6 млн.[ktcmfgoiwc]
CA : 3,3 млн.[pjztltuzr]
DE : 8,3 млн.[vstmxnoyu]
FR : 2,7 млн.[prmt]
NZ : 0,7 млн.[kvgrijvy]
UK : 6,6 млн.[vpysxsvvwwtw]
US : 1,9 млн.[uxgtrngfd]
COM 55,1 млн.[vwbeu]
ВЕСЬ МИР 250 млн. %%ORandStr,3-12,RndChars,L%%]]
Кроме того мы можем предоставить базу по любой стране МИРА.[stprvrq]
Проводим индивидуальное онлайн обучение по e-mail маркетингу.[qoprttvunt]
 
Создаем сайты под заказ любой сложности.[zzqnmtlq]
Имеем большой опыт в разработке и написание сайтов знакомств и партнерских программ.[zpuu]

Предоставим уникальную библиотеку по бизнес тематике, состоящую более чем из 370 электронных книг.[luykyelg]
Детали по е-mail: new.bussines.year@gmail.com [yovyix]

quinta-feira, 28 de julho de 2022

<> Cheap Country Targeted website traffic <>

Hi there
Receive local traffic to increase local audience and leads through your
website

more details and plans can be found here
https://bulkwebtraffic.io/


thanks and regards
Peter Wallace




Unsubscribe:
https://mgdots.co/unsubscribe/

quinta-feira, 7 de abril de 2022

<> NEW! Social SEO <>

Hello

Get some SEO action with the latest Social SEO Strategy, our Social Signals
Boost, which will improve your ranks in just 1 week, safely and permanently

check more details about our plans here
https://realsocialsignals.co/buy-social-signals/









Unsubscribe:
https://mgdots.co/unsubscribe/

domingo, 6 de março de 2022

<> NEW! Social SEO <>

Hello

Get some SEO action with the latest Social SEO Strategy, our Social Signals
Boost, which will improve your ranks in just 1 week, safely and permanently

check more details about our plans here
https://realsocialsignals.co/buy-social-signals/









Unsubscribe:
https://mgdots.co/unsubscribe/

sexta-feira, 11 de fevereiro de 2022

<> Advanced SEO plans <>

Off the shell SEO plans to increase your website`s SEO Metrics and Ranks
within just 1 month

See more details here
https://liftmyrank.co/affordable-seo-services-small-businesses/





Unsubscribe:
https://mgdots.co/unsubscribe/

quarta-feira, 22 de dezembro de 2021

<> Negative SEO Services <>

Hi!

If you ever need Negative SEO Serrvices, we offer it here
https://blackhatsem.co











Unsubscribe:
https://mgdots.co/unsubscribe/

terça-feira, 5 de outubro de 2021

Advanced SEO plans

Off the shell SEO plans to increase your website`s SEO Metrics and Ranks
within just 1 month

See more details here
https://liftmyrank.co/affordable-seo-services-small-businesses/





Unsubscribe:
please send a blank email to RonaldLilly7162@gmail.com
you will be automatically unsubscribed