Shahark, with respect to the above answers, I have to disagree with some of them. While it is not stated in the legislation of Malaysia about secret recordings - it may violate the terms of your employment and also, may be unethical. Hence, it may be a ground for disciplinary action to be taken by your employer and it may also be implied that your employment relationship has broken down.
Hence, in context of disciplinary proceedings - yes, it may be taken against you.