Ashtiani was born in 1960 in Tehran, and enlisted in the Army officer candidate school, now known as Imam Ali Officer University, in 1980, and graduated in 1982. He transferred to the prominent 23rd Special Forces Division, having met airborne, ranger, skiing, diving, and mountain qualifications. In 1984 or early 1985, then-Army Ground Forces chief and prominent figure Major General Ali Sayyad Shirazi appointed Ashtiani as an Imam Ali Officer University training instructor. According to official media, Shirazi deemed him qualified because of his experience in the Iran-Iraq war and in the fight against Kurdish militant separatists in Kordestan, a campaign known for its brutality, widespread arrests, and executions without fair trials.