Yeah painting it would not last too long I´d guess. The original finish is likely black oxide. Technically only possible on steel with nickel, ie stainless, but the term is also used for blueing "normal" steel.
The industrial process is hard to replicate on a hobby level, but there are several...