web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX (Axapta) password hashing algorithm

(0) ShareShare
ReportReport
Posted on by

I am getting familiar with the concept of hashing passwords and different algorithms, because I want to find out if the passwords which are used by users are safe enough. In order to do so as far as I understand I should perform a dictionary attack specifying the hashing algorithm. 

The hashes look like the following: 0BXADEU0D076DU

I cannot find similar hashes in the table (https://hashcat.net/wiki/doku.php?id=example_hashes) or elsewhere on the internet, so I cannot determine the hashing algorithm. Does someone know which algorithm is used in AX? Is there any other way to assure that users are not choosing such weak passwords as "Password1" or "P@ssword1", which could be allowed by relatively strict password policy rules.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    I am unsure what you refer to as AX passwords, since the user authentication happens via the Windows Active Directory, so no password hash is involved here when talking about AX.

    Since a hash is just a checksum of the original values generated via a set of steps, it is very unlikely you could guess what process was used in order to produce the outcome value.

    In AX there are some fields which have password data, that are encrypted/decrypted via the AOT > Classes > WinAPIServer > cryptProtectData and cryptUnProtectData, which are essentially just doing a .Net call to the System.Security.Cryptography namespace. If I remember correctly those cryptkeys are shared between the AOS machines.

    Once we had to encrypt user information for an eCommerce portal, where the login credentials were stored in AX, for which we have done a custom implementation of AES with machine-independent keys and salt ourselves, so nothing stops you to extend AX with custom hashing and encryption.

  • Martin Dráb Profile Picture
    237,908 Most Valuable Professional on at

    Maybe you're using a very old version of AX that doesn't authenticate against Active Directory.

    Please never forget to specify your AX version; differences between versions can be huge.

  • ZygD Profile Picture
    on at

    You are very correct. The version is very old, it is 3.0. Authentication is not integrated with Active Directory.

  • Suggested answer
    Martin Dráb Profile Picture
    237,908 Most Valuable Professional on at

    I used to work with Axapta 3.0, but it's ancient history. A newer version, Dynamics AX 4.0, was released ten years ago and we've got a plenty of new versions and great new features since then.

    If I was you, I wouldn't invest my time to trying to decrypt those passwords. As I remember, Axapta 3.0 supported Active Directory as an optional feature, therefore consider activating it; then you can manage password policies in Active Directory. And seriously consider upgrading to a newer version, ideally to something with active support.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi ZygD,

    In my point of view you can do following things to achieve your Goal.

    1. For Hashing Purpose, you can use DimensionAttributeSetStorage Class methods DimensionAttributeSetStorage::getHash Method and you should explore this class to perform more functionality.

    2. As far as your concern related to weak user password, you can write X++ code in which you can check that user should input atleast one upper char letter, one number, one special char and password letter must be greater than 8. Notify user if above category does not meet.

    Thanks,

    Ali Azim

    Please mark all helpful answers as Verified.

    The information provided reflects in my personal view without any warranty.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans