KUALA LUMPUR: A weak 3.4-magnitude earthquake was detected 10km west of Keningau at 9.31am today.