However, you could use the suffix "-ly" to create the adverb "undercoverly", meaning in a way that is undercover or secret. For example, "He was undercoverly investigating the crime."
If you're referring to the person doing the undercover work, you can use the term "undercover agent" or "undercover operative".