If your crack supports it, you can open SAM, enter the AppID of the game you are playing, and manually check off achievements as you complete them in-game. Achievement Watcher (The Best Visual Solution)
Here is a comprehensive guide on how to manage achievements for games that aren't in your official library. Use a Steam Emulator
Most pirated games are "cracked" using a Steam emulator (like Goldberg, Ali213, or SmartSteamEmu). These emulators trick the game into thinking it is running on a real Steam client.
Look for a folder named settings or steam_settings inside the game directory.
While SAM is typically used for legitimate games, it can sometimes be used in conjunction with "SpaceWar" (AppID 480) to trick the Steam overlay into tracking stats for a non-Steam game.